Skip to content

AssociateSecurityGroupVpcRequest

Source code in docs_src/capo_ec2/types/associate_security_group_vpc_request.py
class AssociateSecurityGroupVpcRequest(TypedDict, closed=True):
    group_id: NotRequired["capo_ec2.types.security_group_id.SecurityGroupId"]
    """<p>A security group ID.</p>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>A VPC ID.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

dry_run instance-attribute

dry_run: NotRequired[Boolean]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

group_id instance-attribute

group_id: NotRequired[SecurityGroupId]

A security group ID.

vpc_id instance-attribute

vpc_id: NotRequired[VpcId]

A VPC ID.