Class: Aws::EC2::Types::SecurityGroupReference
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EC2::Types::SecurityGroupReference
 
 
- 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
- 
  
    
      #group_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of your security group.
 - 
  
    
      #referencing_vpc_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the VPC with the referencing security group.
 - 
  
    
      #transit_gateway_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
<note markdown=“1”> This parameter is in preview and may not be available for your account.
 - 
  
    
      #vpc_peering_connection_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the VPC peering connection (if applicable).
 
Instance Attribute Details
#group_id ⇒ String
The ID of your security group.
      65005 65006 65007 65008 65009 65010 65011 65012  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 65005 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.
      65005 65006 65007 65008 65009 65010 65011 65012  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 65005 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
<note markdown=“1”> This parameter is in preview and may not be available for your account.
</note>
The ID of the transit gateway (if applicable).
      65005 65006 65007 65008 65009 65010 65011 65012  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 65005 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*.
[1]: docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html
      65005 65006 65007 65008 65009 65010 65011 65012  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 65005 class SecurityGroupReference < Struct.new( :group_id, :referencing_vpc_id, :vpc_peering_connection_id, :transit_gateway_id) SENSITIVE = [] include Aws::Structure end  |