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

Class: Aws::IAM::Types::PolicyGroup

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

Overview

Contains information about a group that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy action.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Returns:

  • (String)


6099
6100
6101
6102
6103
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6099

class PolicyGroup < Struct.new(
  :group_name,
  :group_id)
  include Aws::Structure
end

#group_nameString

The name (friendly name, not ARN) identifying the group.

Returns:

  • (String)


6099
6100
6101
6102
6103
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6099

class PolicyGroup < Struct.new(
  :group_name,
  :group_id)
  include Aws::Structure
end