PolicyAttachmentArgs class

The set of arguments for PolicyAttachment. The set of arguments for PolicyAttachment.

Constructors

PolicyAttachmentArgs({Input<List?>? groups, Input<String?>? name, required Input<String> policyArn, Input<List?>? roles, Input<List?>? users})
Creates a new PolicyAttachmentArgs. 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.
const
PolicyAttachmentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

groups → Input<List?>?
Group(s) the policy should be applied to.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the attachment. This cannot be an empty string.
final
policyArn → Input<String>
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.
final
roles → Input<List?>?
Role(s) the policy should be applied to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
users → Input<List?>?
User(s) the policy should be applied to.
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