aws.iam-user-policy resource¶
Description¶
UserPolicy manages an inline policy embedded in an IAM user. The user name and policy name identify the policy, so changes to either replace it. The policy document is normalized before it is sent to IAM and updated in place with PutUserPolicy.
Source: internal/service/iam/user_policy_rsrc.go:19
Example usage:
imports: {
aws: 'github.com/cloudboss/unobin-library-aws'
}
resources: {
example: aws.iam-user-policy {
# Set input fields here.
}
}
Inputs¶
user-name
string
policy-name
string
policy-document
string
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
user-name
string
policy-name
string
policy-document
string