ReplicaKeyState constructor
- Input<
String?> ? arn, - Input<
bool?> ? bypassPolicyLockoutSafetyCheck, - Input<
int?> ? deletionWindowInDays, - Input<
String?> ? description, - Input<
bool?> ? enabled, - Input<
String?> ? keyId, - Input<
bool?> ? keyRotationEnabled, - Input<
String?> ? keySpec, - Input<
String?> ? keyUsage, - Input<
String?> ? policy, - Input<
String?> ? primaryKeyArn, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new ReplicaKeyState.
arn ARN of the replica key. The key ARNs of related multi-Region keys differ only in the Region value.
bypassPolicyLockoutSafetyCheck A flag to indicate whether to bypass the key policy lockout safety check.
deletionWindowInDays The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the KMS key.
description A description of the KMS key.
enabled Specifies whether the replica key is enabled. Disabled KMS keys cannot be used in cryptographic operations. The default value is true.
keyId The key ID of the replica key. Related multi-Region keys have the same key ID.
keyRotationEnabled A Boolean value that specifies whether key rotation is enabled. This is a shared property of multi-Region keys.
keySpec The type of key material in the KMS key. This is a shared property of multi-Region keys.
keyUsage The cryptographic operations for which you can use the KMS key. This is a shared property of multi-Region keys.
policy The key policy to attach to the KMS key. If you do not specify a key policy, AWS KMS attaches the default key policy to the KMS key.
primaryKeyArn The ARN of the multi-Region primary key to replicate. The primary key must be in a different AWS Region of the same AWS Partition. You can create only one replica of a given primary key in each AWS Region.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to assign to the replica key. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const ReplicaKeyState({
this.arn,
this.bypassPolicyLockoutSafetyCheck,
this.deletionWindowInDays,
this.description,
this.enabled,
this.keyId,
this.keyRotationEnabled,
this.keySpec,
this.keyUsage,
this.policy,
this.primaryKeyArn,
this.region,
this.tags,
this.tagsAll,
});