PolicyAttachmentState constructor
const
PolicyAttachmentState({})
Creates a new PolicyAttachmentState.
groups Group(s) the policy should be applied to.
name Name of the attachment. This cannot be an empty string.
policyArn ARN of the policy you want to apply. Typically this should be a reference to the ARN of another resource to ensure dependency ordering, such as aws_iam_policy.example.arn.
roles Role(s) the policy should be applied to.
users User(s) the policy should be applied to.
Implementation
const PolicyAttachmentState({
this.groups,
this.name,
this.policyArn,
this.roles,
this.users,
});