aws::iam-role¶
Creates an IAM role resource.
Example¶
aws::iam-role example-role
name: "rta-test-role"
description: "testing the role functionality"
assume-role-policy: "role_example.json"
policies: [(aws::iam-policy policy)]
end
Attributes¶
| Attribute | Description |
|---|---|
| assume-role-policy | The assumed role policy. (Required) |
| description | The description of the role. |
| policies set | The policies associated with the role. |
| max-session-duration | The maximum duration of the role, in seconds. Valid values are between 3600 to 43200. |
| name | The name of the role. (Required) |
| path | The path to the role. Defaults to /. |
| permissions-boundary-arn | The arn of the permission boundary. |
| tags map | The tags associated with the role. |
| inline-policy set subresource | A list of inline rile policies.RolePolicyResource
|
Outputs¶
| Attribute | Description |
|---|---|
| arn | The arn of the role. |