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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains the response to a successful GetGroupPolicy request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#group_nameString

The group the policy is associated with.

Returns:

  • (String)

    The group the policy is associated with.

#policy_documentString

The policy document.

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

Returns:

  • (String)

    The policy document.

#policy_nameString

The name of the policy.

Returns:

  • (String)

    The name of the policy.