KeyPolicyState class

Input properties used for looking up and filtering KeyPolicy resources.

Constructors

KeyPolicyState({Input<bool?>? bypassPolicyLockoutSafetyCheck, Input<String?>? keyId, Input<String?>? policy, Input<String?>? region})
Creates a new KeyPolicyState. bypassPolicyLockoutSafetyCheck A flag to indicate whether to bypass the key policy lockout safety check. keyId The ID of the KMS Key to attach the policy. 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. For more information about building policy documents, see the AWS IAM Policy Document Guide. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
const
KeyPolicyState.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. If this value is set, and the resource is destroyed, a warning will be shown, and the resource will be removed from state. For more information, refer to the scenario in the Default Key Policy section in the AWS KMS Developer Guide.
final
hashCode → int
The hash code for this object.
no setterinherited
keyId → Input<String?>?
The ID of the KMS Key to attach the policy.
final
policy → Input<String?>?
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. For more information about building policy documents, see the AWS IAM Policy Document Guide.
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

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