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

Class: Aws::EC2::Types::SecurityGroupReference

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

Overview

Describes a VPC with a security group that references your security group.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The ID of your security group.

Returns:

  • (String)


22272
22273
22274
22275
22276
22277
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22272

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id)
  include Aws::Structure
end

#referencing_vpc_idString

The ID of the VPC with the referencing security group.

Returns:

  • (String)


22272
22273
22274
22275
22276
22277
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22272

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id)
  include Aws::Structure
end

#vpc_peering_connection_idString

The ID of the VPC peering connection.

Returns:

  • (String)


22272
22273
22274
22275
22276
22277
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 22272

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id)
  include Aws::Structure
end