Skip to content

ManagedPolicyDetail

Source code in docs_src/capo_iam/types/managed_policy_detail.py
class ManagedPolicyDetail(TypedDict, closed=True):
    policy_name: NotRequired["capo_iam.types.policy_name_type.policyNameType"]
    """<p>The friendly name (not ARN) identifying the policy.</p>"""
    policy_id: NotRequired["capo_iam.types.id_type.idType"]
    """<p>The stable and unique string identifying the policy.</p> <p>For more information about IDs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"""
    arn: NotRequired["capo_iam.types.arn_type.arnType"]
    path: NotRequired["capo_iam.types.policy_path_type.policyPathType"]
    """<p>The path to the policy.</p> <p>For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"""
    default_version_id: NotRequired[
        "capo_iam.types.policy_version_id_type.policyVersionIdType"
    ]
    """<p>The identifier for the version of the policy that is set as the default (operative) version.</p> <p>For more information about policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed policies</a> in the <i>IAM User Guide</i>. </p>"""
    attachment_count: NotRequired[
        "capo_iam.types.attachment_count_type.attachmentCountType"
    ]
    """<p>The number of principal entities (users, groups, and roles) that the policy is attached to.</p>"""
    permissions_boundary_usage_count: NotRequired[
        "capo_iam.types.attachment_count_type.attachmentCountType"
    ]
    """<p>The number of entities (users and roles) for which the policy is used as the permissions boundary. </p> <p>For more information about permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM identities </a> in the <i>IAM User Guide</i>.</p>"""
    is_attachable: "capo_iam.types.boolean_type.booleanType"
    """<p>Specifies whether the policy can be attached to an IAM user, group, or role.</p>"""
    description: NotRequired[
        "capo_iam.types.policy_description_type.policyDescriptionType"
    ]
    """<p>A friendly description of the policy.</p>"""
    create_date: NotRequired["capo_iam.types.date_type.dateType"]
    """<p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, when the policy was created.</p>"""
    update_date: NotRequired["capo_iam.types.date_type.dateType"]
    """<p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, when the policy was last updated.</p> <p>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.</p>"""
    policy_version_list: NotRequired[
        "capo_iam.types.policy_document_version_list_type.policyDocumentVersionListType"
    ]
    """<p>A list containing information about the versions of the policy.</p>"""

arn instance-attribute

arn: NotRequired[arnType]

attachment_count instance-attribute

attachment_count: NotRequired[attachmentCountType]

The number of principal 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 (operative) version.

For more information about policy versions, see Versioning for managed policies in the IAM User Guide.

description instance-attribute

description: NotRequired[policyDescriptionType]

A friendly description of the policy.

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 as 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.

policy_version_list instance-attribute

policy_version_list: NotRequired[policyDocumentVersionListType]

A list containing information about the versions of the policy.

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.