ReplicaKeyArgs

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<TagArgs>>? = null) : ConvertibleToJava<ReplicaKeyArgs>

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

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, enabled: Output<Boolean>? = null, keyPolicy: Output<Any>? = null, pendingWindowInDays: Output<Int>? = null, primaryKeyArn: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

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

A description of the AWS KMS key. Use a description that helps you to distinguish this AWS KMS key from others in the account, such as its intended use.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Specifies whether the AWS KMS key is enabled. Disabled AWS KMS keys cannot be used in cryptographic operations.

Link copied to clipboard
val keyPolicy: Output<Any>? = null

The key policy that authorizes use of the AWS KMS key. The key policy must observe the following rules. Search the CloudFormation User Guide for AWS::KMS::ReplicaKey for more information about the expected schema for this property.

Link copied to clipboard
val pendingWindowInDays: Output<Int>? = null

Specifies the number of days in the waiting period before AWS KMS deletes an AWS KMS key that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days.

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

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

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Functions

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