Skip to content

IAM  >  Structures  >  PolicyGrantingServiceAccess

PolicyGrantingServiceAccess

Structure Class

PolicyGrantingServiceAccess dataclass

Bases: _SerdeShape

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.

Attributes

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

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.

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

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.

policy_arn class-attribute instance-attribute
policy_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.

policy_name instance-attribute
policy_name: str

The policy name.

policy_type instance-attribute
policy_type: str

The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.