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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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_idString

The ID of your security group.

Returns:

  • (String)


59554
59555
59556
59557
59558
59559
59560
59561
# File 'lib/aws-sdk-ec2/types.rb', line 59554

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

#referencing_vpc_idString

The ID of the VPC with the referencing security group.

Returns:

  • (String)


59554
59555
59556
59557
59558
59559
59560
59561
# File 'lib/aws-sdk-ec2/types.rb', line 59554

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

#transit_gateway_idString

The ID of the transit gateway (if applicable). For more information about security group referencing for transit gateways, see [Create a transit gateway attachment to a VPC] in the *Amazon Web Services Transit Gateway Guide*.

[1]: docs.aws.amazon.com/tgw/tgw-vpc-attachments.html#create-vpc-attachment

Returns:

  • (String)


59554
59555
59556
59557
59558
59559
59560
59561
# File 'lib/aws-sdk-ec2/types.rb', line 59554

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

#vpc_peering_connection_idString

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*.

[1]: docs.aws.amazon.com/peering/vpc-peering-security-groups.html

Returns:

  • (String)


59554
59555
59556
59557
59558
59559
59560
59561
# File 'lib/aws-sdk-ec2/types.rb', line 59554

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