aws_iam_policy

account_id

Type: STRING

arn

Type: STRING
Provider name: Arn

attachment_count

Type: INT32
Provider name: AttachmentCount
Description: The number of entities (users, groups, and roles) that the policy is attached to.

create_date

Type: TIMESTAMP
Provider name: CreateDate
Description: The date and time, in ISO 8601 date-time format, when the policy was created.

default_version_id

Type: STRING
Provider name: DefaultVersionId
Description: The identifier for the version of the policy that is set as the default version.

description

Type: STRING
Provider name: Description
Description: A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation.

is_attachable

Type: BOOLEAN
Provider name: IsAttachable
Description: Specifies whether the policy can be attached to an IAM user, group, or role.

path

Type: STRING
Provider name: Path
Description: The path to the policy. For more information about paths, see IAM identifiers in the IAM User Guide.

permissions_boundary_usage_count

Type: INT32
Provider name: PermissionsBoundaryUsageCount
Description: The number of entities (users and roles) for which the policy is used to set the permissions boundary. For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

policy_id

Type: STRING
Provider name: PolicyId
Description: The stable and unique string identifying the policy. For more information about IDs, see IAM identifiers in the IAM User Guide.

policy_name

Type: STRING
Provider name: PolicyName
Description: The friendly name (not ARN) identifying the policy.

policy_version

Type: STRUCT
Provider name: PolicyVersion

  • create_date
    Type: TIMESTAMP
    Provider name: CreateDate
    Description: The date and time, in ISO 8601 date-time format, when the policy version was created.
  • document
    Type: STRING
    Provider name: Document
    Description: The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations. The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.
  • is_default_version
    Type: BOOLEAN
    Provider name: IsDefaultVersion
    Description: Specifies whether the policy version is set as the policy’s default version.
  • version_id
    Type: STRING
    Provider name: VersionId
    Description: The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1.

tags

Type: UNORDERED_LIST_STRING

update_date

Type: TIMESTAMP
Provider name: UpdateDate
Description: The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.