Skip to content

UserIdGroupPair

Source code in docs_src/capo_ec2/types/user_id_group_pair.py
class UserIdGroupPair(TypedDict, closed=True):
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>A description for the security group rule that references this user ID group pair.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*</p>"""
    user_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of an Amazon Web Services account.</p> <p>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.</p>"""
    group_name: NotRequired["capo_ec2.types.string.String"]
    """<p>[Default VPC] The name of the security group. For a security group in a nondefault VPC, use the security group ID. </p> <p>For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.</p>"""
    group_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the security group.</p>"""
    vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC for the referenced security group, if applicable.</p>"""
    vpc_peering_connection_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC peering connection, if applicable.</p>"""
    peering_status: NotRequired["capo_ec2.types.string.String"]
    """<p>The status of a VPC peering connection, if applicable.</p>"""

description instance-attribute

description: NotRequired[String]

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 instance-attribute

group_id: NotRequired[String]

The ID of the security group.

group_name instance-attribute

group_name: NotRequired[String]

[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 instance-attribute

peering_status: NotRequired[String]

The status of a VPC peering connection, if applicable.

user_id instance-attribute

user_id: NotRequired[String]

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 instance-attribute

vpc_id: NotRequired[String]

The ID of the VPC for the referenced security group, if applicable.

vpc_peering_connection_id instance-attribute

vpc_peering_connection_id: NotRequired[String]

The ID of the VPC peering connection, if applicable.