group-policy resource¶
Description¶
GroupPolicyResource manages an inline policy embedded in an IAM group. The group name and policy name form the identity, so a change to either makes a different policy and recreates this one. The policy document is updated in place with PutGroupPolicy.
Source: internal/service/iam/group_policy_rsrc.go:24
Example usage:
imports: {
aws-iam: 'github.com/cloudboss/unobin-library-aws//service/iam'
}
resources: {
example: aws-iam.group-policy {
# Set input fields here.
}
}
Inputs¶
group-name
string
policy-name
string
policy-document
string
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
group-name
string
policy-name
string
policy-document
string