aws.iam.policy
Supported platform
- aws
Description
AWS IAM policy
The aws.iam.policy resource provides fields for assessing the configuration of individual IAM Policies. For usage, read the aws.iam resource documentation.
Fields
| ID | TYPE | DESCRIPTION |
|---|---|---|
| arn | string | ARN of the policy |
| policyId | string | ID of the policy |
| name | string | Name of the policy |
| description | string | Description of the policy |
| isAttachable | bool | Whether the policy can be attached |
| attachmentCount | int | Number of principal entities (users, groups, and roles) that the policy is attached to |
| createdAt | time | Time when the policy was created |
| updatedAt | time | Time when the policy was updated |
| scope | string | Scope of the policy |
| versions | []aws.iam.policyversion | List of versions for the policy |
| defaultVersion | aws.iam.policyversion | Default version of the policy |
| attachedUsers | []aws.iam.user | List of users attached to the policy |
| attachedRoles | []aws.iam.role | List of roles attached to the policy |
| attachedGroups | []aws.iam.group | List of groups attached to the policy |