Class: Aws::IAM::Types::GetGroupPolicyResponse

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

Overview

Contains the response to a successful GetGroupPolicy request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#group_nameString

The group the policy is associated with.

Returns:

  • (String)

3682
3683
3684
3685
3686
3687
3688
# File 'lib/aws-sdk-iam/types.rb', line 3682

class GetGroupPolicyResponse < Struct.new(
  :group_name,
  :policy_name,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The policy document.

IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Returns:

  • (String)

3682
3683
3684
3685
3686
3687
3688
# File 'lib/aws-sdk-iam/types.rb', line 3682

class GetGroupPolicyResponse < Struct.new(
  :group_name,
  :policy_name,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)

3682
3683
3684
3685
3686
3687
3688
# File 'lib/aws-sdk-iam/types.rb', line 3682

class GetGroupPolicyResponse < Struct.new(
  :group_name,
  :policy_name,
  :policy_document)
  SENSITIVE = []
  include Aws::Structure
end