Skip to content

EC2  >  Structures  >  SecurityGroupReference

SecurityGroupReference

Structure Class

SecurityGroupReference dataclass

Bases: _SerdeShape

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

Attributes

group_id class-attribute instance-attribute
group_id: str | None = ...

The ID of your security group.

referencing_vpc_id class-attribute instance-attribute
referencing_vpc_id: str | None = ...

The ID of the VPC with the referencing security group.

transit_gateway_id class-attribute instance-attribute
transit_gateway_id: str | None = ...

The ID of the transit gateway (if applicable).

vpc_peering_connection_id class-attribute instance-attribute
vpc_peering_connection_id: str | None = ...

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.