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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#group_id ⇒ String

The ID of your security group.

Returns:

  • (String)


88392
88393
88394
88395
88396
88397
88398
88399
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88392

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id,
  :transit_gateway_id)
  SENSITIVE = []
  include Aws::Structure
end

#referencing_vpc_id ⇒ String

The ID of the VPC with the referencing security group.

Returns:

  • (String)


88392
88393
88394
88395
88396
88397
88398
88399
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88392

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id,
  :transit_gateway_id)
  SENSITIVE = []
  include Aws::Structure
end

#transit_gateway_id ⇒ String

The ID of the transit gateway (if applicable).

Returns:

  • (String)


88392
88393
88394
88395
88396
88397
88398
88399
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88392

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id,
  :transit_gateway_id)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_peering_connection_id ⇒ String

The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.

Returns:

  • (String)


88392
88393
88394
88395
88396
88397
88398
88399
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88392

class SecurityGroupReference < Struct.new(
  :group_id,
  :referencing_vpc_id,
  :vpc_peering_connection_id,
  :transit_gateway_id)
  SENSITIVE = []
  include Aws::Structure
end