aws.iam-role-policy-attachment resource¶
Description¶
RolePolicyAttachment attaches a managed policy to an IAM role. It is a pure association between a role and a policy ARN, so it has no tags, no description, and no mutable fields. Changing either the role or the policy ARN makes a different attachment, which is why both are replace fields.
Source: internal/service/iam/role_policy_attachment_rsrc.go:18
Example usage:
imports: {
aws: 'github.com/cloudboss/unobin-library-aws'
}
resources: {
example: aws.iam-role-policy-attachment {
# Set input fields here.
}
}
Inputs¶
role-name
string
policy-arn
string
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
This kind has no outputs.