class Aws::IAM::Types::PolicyGrantingServiceAccess

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.

@!attribute [rw] policy_name

The policy name.
@return [String]

@!attribute [rw] policy_type

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

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html
@return [String]

@!attribute [rw] policy_arn

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)][1] in the *Amazon Web Services General Reference*.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
@return [String]

@!attribute [rw] entity_type

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][1] in
the *IAM User Guide*.

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html
@return [String]

@!attribute [rw] entity_name

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][1] in
the *IAM User Guide*.

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyGrantingServiceAccess AWS API Documentation

Constants

SENSITIVE