Skip to content

CreateVpcPeeringConnectionRequest

Source code in docs_src/capo_ec2/types/create_vpc_peering_connection_request.py
class CreateVpcPeeringConnectionRequest(TypedDict, closed=True):
    peer_region: NotRequired["capo_ec2.types.string.String"]
    """<p>The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.</p> <p>Default: The Region in which you make the request.</p>"""
    tag_specifications: NotRequired[
        "capo_ec2.types.tag_specification_list.TagSpecificationList"
    ]
    """<p>The tags to assign to the peering connection.</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>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>The ID of the requester VPC. You must specify this parameter in the request.</p>"""
    peer_vpc_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.</p>"""
    peer_owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Web Services account ID of the owner of the accepter VPC.</p> <p>Default: Your Amazon Web Services account ID</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.

peer_owner_id instance-attribute

peer_owner_id: NotRequired[String]

The Amazon Web Services account ID of the owner of the accepter VPC.

Default: Your Amazon Web Services account ID

peer_region instance-attribute

peer_region: NotRequired[String]

The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.

Default: The Region in which you make the request.

peer_vpc_id instance-attribute

peer_vpc_id: NotRequired[String]

The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.

tag_specifications instance-attribute

tag_specifications: NotRequired[TagSpecificationList]

The tags to assign to the peering connection.

vpc_id instance-attribute

vpc_id: NotRequired[VpcId]

The ID of the requester VPC. You must specify this parameter in the request.