Skip to content

SecurityGroup

Source code in docs_src/capo_ec2/types/security_group.py
class SecurityGroup(TypedDict, closed=True):
    group_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the security group.</p>"""
    ip_permissions_egress: NotRequired[
        "capo_ec2.types.ip_permission_list.IpPermissionList"
    ]
    """<p>The outbound rules associated with the security group.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the security group.</p>"""
    vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC for the security group.</p>"""
    security_group_arn: NotRequired["capo_ec2.types.string.String"]
    """<p>The ARN of the security group.</p>"""
    owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Web Services account ID of the owner of the security group.</p>"""
    group_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the security group.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>A description of the security group.</p>"""
    ip_permissions: NotRequired["capo_ec2.types.ip_permission_list.IpPermissionList"]
    """<p>The inbound rules associated with the security group.</p>"""

description instance-attribute

description: NotRequired[String]

A description of the security group.

group_id instance-attribute

group_id: NotRequired[String]

The ID of the security group.

group_name instance-attribute

group_name: NotRequired[String]

The name of the security group.

ip_permissions instance-attribute

ip_permissions: NotRequired[IpPermissionList]

The inbound rules associated with the security group.

ip_permissions_egress instance-attribute

ip_permissions_egress: NotRequired[IpPermissionList]

The outbound rules associated with the security group.

owner_id instance-attribute

owner_id: NotRequired[String]

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

security_group_arn instance-attribute

security_group_arn: NotRequired[String]

The ARN of the security group.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the security group.

vpc_id instance-attribute

vpc_id: NotRequired[String]

The ID of the VPC for the security group.