Skip to content

SecurityGroupReference

Source code in docs_src/capo_ec2/types/security_group_reference.py
class SecurityGroupReference(TypedDict, closed=True):
    group_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of your security group.</p>"""
    referencing_vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC with the referencing security group.</p>"""
    vpc_peering_connection_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>"""
    transit_gateway_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the transit gateway (if applicable).</p>"""

group_id instance-attribute

group_id: NotRequired[String]

The ID of your security group.

referencing_vpc_id instance-attribute

referencing_vpc_id: NotRequired[String]

The ID of the VPC with the referencing security group.

transit_gateway_id instance-attribute

transit_gateway_id: NotRequired[String]

The ID of the transit gateway (if applicable).

vpc_peering_connection_id instance-attribute

vpc_peering_connection_id: NotRequired[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.