Package-level declarations

Types

Link copied to clipboard
class Alias : KotlinCustomResource

The AWS::KMS::Alias resource specifies a display name for an AWS KMS key in AWS Key Management Service (AWS KMS). You can use an alias to identify an AWS KMS key in cryptographic operations.

Link copied to clipboard
data class AliasArgs(val aliasName: Output<String>? = null, val targetKeyId: Output<String>? = null) : ConvertibleToJava<AliasArgs>

The AWS::KMS::Alias resource specifies a display name for an AWS KMS key in AWS Key Management Service (AWS KMS). You can use an alias to identify an AWS KMS key in cryptographic operations.

Link copied to clipboard

Builder for AliasArgs.

Link copied to clipboard
object AliasMapper : ResourceMapper<Alias>
Link copied to clipboard

Builder for Alias.

Link copied to clipboard
class Key : KotlinCustomResource

The AWS::KMS::Key resource specifies an AWS KMS key in AWS Key Management Service (AWS KMS). Authorized users can use the AWS KMS key to encrypt and decrypt small amounts of data (up to 4096 bytes), but they are more commonly used to generate data keys. You can also use AWS KMS keys to encrypt data stored in AWS services that are integrated with AWS KMS or within their applications.

Link copied to clipboard
data class KeyArgs(val bypassPolicyLockoutSafetyCheck: Output<Boolean>? = null, val description: Output<String>? = null, val enableKeyRotation: Output<Boolean>? = null, val enabled: Output<Boolean>? = null, val keyPolicy: Output<Any>? = null, val keySpec: Output<KeySpec>? = null, val keyUsage: Output<KeyUsage>? = null, val multiRegion: Output<Boolean>? = null, val origin: Output<KeyOrigin>? = null, val pendingWindowInDays: Output<Int>? = null, val tags: Output<List<KeyTagArgs>>? = null) : ConvertibleToJava<KeyArgs>

The AWS::KMS::Key resource specifies an AWS KMS key in AWS Key Management Service (AWS KMS). Authorized users can use the AWS KMS key to encrypt and decrypt small amounts of data (up to 4096 bytes), but they are more commonly used to generate data keys. You can also use AWS KMS keys to encrypt data stored in AWS services that are integrated with AWS KMS or within their applications.

Link copied to clipboard

Builder for KeyArgs.

Link copied to clipboard
object KeyMapper : ResourceMapper<Key>
Link copied to clipboard

Builder for Key.

Link copied to clipboard
Link copied to clipboard
class ReplicaKey : KotlinCustomResource

The AWS::KMS::ReplicaKey resource specifies a multi-region replica AWS KMS key in AWS Key Management Service (AWS KMS).

Link copied to clipboard
data class ReplicaKeyArgs(val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val keyPolicy: Output<Any>? = null, val pendingWindowInDays: Output<Int>? = null, val primaryKeyArn: Output<String>? = null, val tags: Output<List<ReplicaKeyTagArgs>>? = null) : ConvertibleToJava<ReplicaKeyArgs>

The AWS::KMS::ReplicaKey resource specifies a multi-region replica AWS KMS key in AWS Key Management Service (AWS KMS).

Link copied to clipboard
Link copied to clipboard
object ReplicaKeyMapper : ResourceMapper<ReplicaKey>
Link copied to clipboard

Functions

Link copied to clipboard
fun alias(name: String): Alias
suspend fun alias(name: String, block: suspend AliasResourceBuilder.() -> Unit): Alias
Link copied to clipboard
fun key(name: String): Key
suspend fun key(name: String, block: suspend KeyResourceBuilder.() -> Unit): Key
Link copied to clipboard
suspend fun replicaKey(name: String, block: suspend ReplicaKeyResourceBuilder.() -> Unit): ReplicaKey