AliasArgs

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.

Constructors

Link copied to clipboard
fun AliasArgs(aliasName: Output<String>? = null, targetKeyId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AliasArgs

Properties

Link copied to clipboard
val aliasName: Output<String>? = null

Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias. The alias name cannot begin with alias/aws/. The alias/aws/ prefix is reserved for AWS managed keys.

Link copied to clipboard
val targetKeyId: Output<String>? = null

Identifies the AWS KMS key to which the alias refers. Specify the key ID or the Amazon Resource Name (ARN) of the AWS KMS key. You cannot specify another alias. For help finding the key ID and ARN, see Finding the Key ID and ARN in the AWS Key Management Service Developer Guide.