KeyState constructor
- Input<
String?> ? arn, - Input<
bool?> ? bypassPolicyLockoutSafetyCheck, - Input<
String?> ? customKeyStoreId, - Input<
String?> ? customerMasterKeySpec, - Input<
int?> ? deletionWindowInDays, - Input<
String?> ? description, - Input<
bool?> ? enableKeyRotation, - Input<
bool?> ? isEnabled, - Input<
String?> ? keyId, - Input<
String?> ? keyUsage, - Input<
bool?> ? multiRegion, - Input<
String?> ? policy, - Input<
String?> ? region, - Input<
int?> ? rotationPeriodInDays, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? xksKeyId,
Creates a new KeyState.
arn ARN of the key.
bypassPolicyLockoutSafetyCheck A flag to indicate whether to bypass the key policy lockout safety check.
customKeyStoreId ID of the KMS Custom Key Store where the key will be stored instead of KMS (eg CloudHSM).
customerMasterKeySpec Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports.
deletionWindowInDays The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the KMS key.
description The description of the key as viewed in AWS console.
enableKeyRotation Specifies whether key rotation is enabled. Defaults to false.
isEnabled Specifies whether the key is enabled. Defaults to true.
keyId The globally unique identifier for the key.
keyUsage Specifies the intended use of the key. Valid values: ENCRYPT_DECRYPT, SIGN_VERIFY, or GENERATE_VERIFY_MAC.
multiRegion Indicates whether the KMS key is a multi-Region (true) or regional (false) key. Defaults to false.
policy A valid policy JSON document. Although this is a key policy, not an IAM policy, an aws.iam.getPolicyDocument, in the form that designates a principal, can be used.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
rotationPeriodInDays Custom period of time between each rotation date. Must be a number between 90 and 2560 (inclusive).
tags A map of tags to assign to the object. 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.
xksKeyId Identifies the external key that serves as key material for the KMS key in an external key store.
Implementation
const KeyState({
this.arn,
this.bypassPolicyLockoutSafetyCheck,
this.customKeyStoreId,
this.customerMasterKeySpec,
this.deletionWindowInDays,
this.description,
this.enableKeyRotation,
this.isEnabled,
this.keyId,
this.keyUsage,
this.multiRegion,
this.policy,
this.region,
this.rotationPeriodInDays,
this.tags,
this.tagsAll,
this.xksKeyId,
});