Skip to content

AttachClassicLinkVpcRequest

Source code in docs_src/capo_ec2/types/attach_classic_link_vpc_request.py
class AttachClassicLinkVpcRequest(TypedDict, closed=True):
    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>"""
    instance_id: NotRequired["capo_ec2.types.instance_id.InstanceId"]
    """<p>The ID of the EC2-Classic instance.</p>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>The ID of the ClassicLink-enabled VPC.</p>"""
    groups: NotRequired["capo_ec2.types.group_id_string_list.GroupIdStringList"]
    """<p>The IDs of the security groups. You cannot specify security groups from a different VPC.</p>"""
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.

groups: NotRequired[GroupIdStringList]

The IDs of the security groups. You cannot specify security groups from a different VPC.

instance_id: NotRequired[InstanceId]

The ID of the EC2-Classic instance.

vpc_id: NotRequired[VpcId]

The ID of the ClassicLink-enabled VPC.