You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::GetPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Note:

When making an API call, you may pass GetPolicyRequest data as a hash:

{
  policy_arn: "arnType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The Amazon Resource Name (ARN) of the managed policy that you want information about.

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)


2981
2982
2983
2984
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2981

class GetPolicyRequest < Struct.new(
  :policy_arn)
  include Aws::Structure
end