KeyPolicyState constructor

const KeyPolicyState({
  1. Input<bool?>? bypassPolicyLockoutSafetyCheck,
  2. Input<String?>? keyId,
  3. Input<String?>? policy,
  4. 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.

Implementation

const KeyPolicyState({
  this.bypassPolicyLockoutSafetyCheck,
  this.keyId,
  this.policy,
  this.region,
});