class Aws::IAM::Types::AttachedPolicy

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.

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

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html

@!attribute [rw] policy_name

The friendly name of the attached policy.
@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]

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

Constants

SENSITIVE