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

Class: Aws::EC2::Types::GroupIdentifier

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

Overview

Note:

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

{
  group_name: "String",
  group_id: "String",
}

Describes a security group.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The ID of the security group.

Returns:

  • (String)


13221
13222
13223
13224
13225
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13221

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

#group_nameString

The name of the security group.

Returns:

  • (String)


13221
13222
13223
13224
13225
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13221

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