Skip to content

EC2  >  Structures  >  SecurityGroupVpcAssociation

SecurityGroupVpcAssociation

Structure Class

SecurityGroupVpcAssociation dataclass

Bases: _SerdeShape

A security group association with a VPC that you made with AssociateSecurityGroupVpc.

Attributes

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

The association's security group ID.

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

The Amazon Web Services account ID of the owner of the security group.

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

The association's state.

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

The association's state reason.

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

The association's VPC ID.

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

The Amazon Web Services account ID of the owner of the VPC.