ReplicaExternalKeyState constructor

const ReplicaExternalKeyState({
  1. Input<String?>? arn,
  2. Input<bool?>? bypassPolicyLockoutSafetyCheck,
  3. Input<int?>? deletionWindowInDays,
  4. Input<String?>? description,
  5. Input<bool?>? enabled,
  6. Input<String?>? expirationModel,
  7. Input<String?>? keyId,
  8. Input<String?>? keyMaterialBase64,
  9. Input<String?>? keyState,
  10. Input<String?>? keyUsage,
  11. Input<String?>? policy,
  12. Input<String?>? primaryKeyArn,
  13. Input<String?>? region,
  14. Input<Map<String, String>?>? tags,
  15. Input<Map<String, String>?>? tagsAll,
  16. Input<String?>? validTo,
})

Creates a new ReplicaExternalKeyState. 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. Keys pending import can only be false. Imported keys default to true unless expired. expirationModel Whether the key material expires. Empty when pending key material import, otherwise KEY_MATERIAL_EXPIRES or KEY_MATERIAL_DOES_NOT_EXPIRE. keyId The key ID of the replica key. Related multi-Region keys have the same key ID. keyMaterialBase64 Base64 encoded 256-bit symmetric encryption key material to import. The KMS key is permanently associated with this key material. The same key material can be reimported, but you cannot import different key material. keyState The state of the replica key. 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. validTo Time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the key becomes unusable. If not specified, key material does not expire. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)

Implementation

const ReplicaExternalKeyState({
  this.arn,
  this.bypassPolicyLockoutSafetyCheck,
  this.deletionWindowInDays,
  this.description,
  this.enabled,
  this.expirationModel,
  this.keyId,
  this.keyMaterialBase64,
  this.keyState,
  this.keyUsage,
  this.policy,
  this.primaryKeyArn,
  this.region,
  this.tags,
  this.tagsAll,
  this.validTo,
});