Skip to content

IAM  >  Structures  >  ManagedPolicyDetail

ManagedPolicyDetail

Structure Class

ManagedPolicyDetail dataclass

Bases: _SerdeShape

Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.

This data type is used as a response element in the GetAccountAuthorizationDetails operation.

For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.

Attributes

arn class-attribute instance-attribute
arn: str | None = ...

The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.

For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

attachment_count class-attribute instance-attribute
attachment_count: int | None = ...

The number of principal entities (users, groups, and roles) that the policy is attached to.

create_date class-attribute instance-attribute
create_date: datetime | None = ...

The date and time, in ISO 8601 date-time format, when the policy was created.

default_version_id class-attribute instance-attribute
default_version_id: str | None = ...

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 class-attribute instance-attribute
description: str | None = ...

A friendly description of the policy.

is_attachable class-attribute instance-attribute
is_attachable: bool = ...

Specifies whether the policy can be attached to an IAM user, group, or role.

path class-attribute instance-attribute
path: str | None = ...

The path to the policy.

For more information about paths, see IAM identifiers in the IAM User Guide.

permissions_boundary_usage_count class-attribute instance-attribute
permissions_boundary_usage_count: int | None = ...

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 class-attribute instance-attribute
policy_id: str | None = ...

The stable and unique string identifying the policy.

For more information about IDs, see IAM identifiers in the IAM User Guide.

policy_name class-attribute instance-attribute
policy_name: str | None = ...

The friendly name (not ARN) identifying the policy.

policy_version_list class-attribute instance-attribute
policy_version_list: list[PolicyVersion] | None = ...

A list containing information about the versions of the policy.

update_date class-attribute instance-attribute
update_date: datetime | None = ...

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.