Skip to content

EC2  >  Structures  >  UserIdGroupPair

UserIdGroupPair

Structure Class

UserIdGroupPair dataclass

Bases: _SerdeShape

Describes a security group and Amazon Web Services account ID pair.

Attributes

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

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

The ID of the security group.

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

[Default VPC] The name of the security group. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

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

The status of a VPC peering connection, if applicable.

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

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

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

The ID of the VPC for the referenced security group, 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.