Class: Aws::IAM::Types::AttachedPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 IAM User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

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.

Returns:

  • (String)


551
552
553
554
555
556
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 551

class AttachedPolicy < Struct.new(
  :policy_name,
  :policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The friendly name of the attached policy.

Returns:

  • (String)


551
552
553
554
555
556
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 551

class AttachedPolicy < Struct.new(
  :policy_name,
  :policy_arn)
  SENSITIVE = []
  include Aws::Structure
end