Policy
¶
Source code in docs_src/capo_iam/types/policy.py
attachment_count
instance-attribute
¶
attachment_count: NotRequired[attachmentCountType]
The number of entities (users, groups, and roles) that the policy is attached to.
create_date
instance-attribute
¶
create_date: NotRequired[dateType]
The date and time, in ISO 8601 date-time format, when the policy was created.
default_version_id
instance-attribute
¶
default_version_id: NotRequired[policyVersionIdType]
The identifier for the version of the policy that is set as the default version.
description
instance-attribute
¶
description: NotRequired[policyDescriptionType]
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
instance-attribute
¶
is_attachable: booleanType
Specifies whether the policy can be attached to an IAM user, group, or role.
path
instance-attribute
¶
path: NotRequired[policyPathType]
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
permissions_boundary_usage_count
instance-attribute
¶
permissions_boundary_usage_count: NotRequired[attachmentCountType]
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
instance-attribute
¶
policy_id: NotRequired[idType]
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
policy_name
instance-attribute
¶
policy_name: NotRequired[policyNameType]
The friendly name (not ARN) identifying the policy.
tags
instance-attribute
¶
tags: NotRequired[tagListType]
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
update_date
instance-attribute
¶
update_date: NotRequired[dateType]
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.