http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-amazon-kms
/
org.http4k.connect.amazon.kms.action
/
CreateKey
Create
Key
@
JsonSerializable
data
class
CreateKey
(
val
KeySpec
:
CustomerMasterKeySpec
?
=
null
,
val
KeyUsage
:
KeyUsage
?
=
null
,
val
BypassPolicyLockoutSafetyCheck
:
Boolean
?
=
null
,
val
CustomKeyStoreId
:
String
?
=
null
,
val
Description
:
String
?
=
null
,
val
Origin
:
String
?
=
null
,
val
Policy
:
String
?
=
null
,
val
Tags
:
List
<
Tag
>
?
=
null
)
:
KMSAction
<
KeyCreated
>
(
source
)
Members
Constructors
Create
Key
Link copied to clipboard
constructor
(
KeySpec
:
CustomerMasterKeySpec
?
=
null
,
KeyUsage
:
KeyUsage
?
=
null
,
BypassPolicyLockoutSafetyCheck
:
Boolean
?
=
null
,
CustomKeyStoreId
:
String
?
=
null
,
Description
:
String
?
=
null
,
Origin
:
String
?
=
null
,
Policy
:
String
?
=
null
,
Tags
:
List
<
Tag
>
?
=
null
)
Properties
Bypass
Policy
Lockout
Safety
Check
Link copied to clipboard
val
BypassPolicyLockoutSafetyCheck
:
Boolean
?
Custom
Key
Store
Id
Link copied to clipboard
val
CustomKeyStoreId
:
String
?
Description
Link copied to clipboard
val
Description
:
String
?
Key
Spec
Link copied to clipboard
val
KeySpec
:
CustomerMasterKeySpec
?
Key
Usage
Link copied to clipboard
val
KeyUsage
:
KeyUsage
?
Origin
Link copied to clipboard
val
Origin
:
String
?
Policy
Link copied to clipboard
val
Policy
:
String
?
Tags
Link copied to clipboard
val
Tags
:
List
<
Tag
>
?
Functions
to
Request
Link copied to clipboard
open
override
fun
toRequest
(
)
:
Request
to
Result
Link copied to clipboard
open
override
fun
toResult
(
response
:
Response
)
:
Result
<
KeyCreated
,
RemoteFailure
>
uri
Link copied to clipboard
open
fun
uri
(
)
:
Uri