Skip to content

IAM  >  Structures  >  PolicyUser

PolicyUser

Structure Class

PolicyUser dataclass

Bases: _SerdeShape

Contains information about a user that a managed policy is attached to.

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

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

Attributes

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

The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.

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

The name (friendly name, not ARN) identifying the user.