AWS IAM policy
aws.iam.policy MQL resource for querying AWS infrastructure with cnquery and cnspec.
AWSPrivate Resource
AWS IAM policy
Min version: 5.15.0Defaults:
arn nameRelationships
6 resources · 16 relationships·Click to select, expand fields to see properties.
Fields (14)
| Field | Type | Description |
|---|---|---|
arnrequired | string | ARN of the policy |
attachedGroups | []aws.iam.group | List of groups attached to the policy |
attachedRoles | []aws.iam.role | List of roles attached to the policy |
attachedUsers | []aws.iam.user | List of users attached to the policy |
attachmentCount | int | Number of principal entities (users, groups, and roles) that the policy is attached to |
createdAt | time | Time when the policy was created |
defaultVersion | aws.iam.policyversion | Default version of the policy |
description | string | Description of the policy |
isAttachable | int | Whether the policy can be attached |
name | string | Name of the policy |
policyId | string | ID of the policy |
scope | string | Scope of the policy |
updatedAt | time | Time when the policy was updated |
versions | []aws.iam.policyversion | List of versions for the policy |