Class: Aws::IAM::Types::AttachedPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::AttachedPolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
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 *Using IAM* guide.
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
Instance Attribute Summary collapse
-
#policy_arn ⇒ String
The Amazon Resource Name (ARN).
-
#policy_name ⇒ String
The friendly name of the attached policy.
Instance Attribute Details
#policy_arn ⇒ String
The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.
For more information about ARNs, go to [Amazon Resource Names (ARNs) and AWS Service Namespaces] in the *AWS General Reference*.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
449 450 451 452 453 |
# File 'lib/aws-sdk-iam/types.rb', line 449 class AttachedPolicy < Struct.new( :policy_name, :policy_arn) include Aws::Structure end |
#policy_name ⇒ String
The friendly name of the attached policy.
449 450 451 452 453 |
# File 'lib/aws-sdk-iam/types.rb', line 449 class AttachedPolicy < Struct.new( :policy_name, :policy_arn) include Aws::Structure end |