ReplicaKeyArgs class

The set of arguments for ReplicaKey. The set of arguments for ReplicaKey.

Constructors

ReplicaKeyArgs({Input<bool?>? bypassPolicyLockoutSafetyCheck, Input<int?>? deletionWindowInDays, Input<String?>? description, Input<bool?>? enabled, Input<String?>? policy, required Input<String> primaryKeyArn, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new ReplicaKeyArgs. 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. 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.
const
ReplicaKeyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

bypassPolicyLockoutSafetyCheck → Input<bool?>?
A flag to indicate whether to bypass the key policy lockout safety check. Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately. For more information, refer to the scenario in the Default Key Policy section in the AWS KMS Developer Guide. The default value is false.
final
deletionWindowInDays → Input<int?>?
The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the KMS key. If you specify a value, it must be between 7 and 30, inclusive. If you do not specify a value, it defaults to 30.
final
description → Input<String?>?
A description of the KMS key.
final
enabled → Input<bool?>?
Specifies whether the replica key is enabled. Disabled KMS keys cannot be used in cryptographic operations. The default value is true.
final
hashCode → int
The hash code for this object.
no setterinherited
policy → Input<String?>?
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.
final
primaryKeyArn → Input<String>
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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited