ServiceResource / Sub-Resource / VpcPeeringConnection

VpcPeeringConnection#

EC2.ServiceResource.VpcPeeringConnection(id)#

Creates a VpcPeeringConnection resource.:

vpc_peering_connection = ec2.VpcPeeringConnection('id')
Parameters:

id (string) – The VpcPeeringConnection’s id identifier. This must be set.

Return type:

EC2.VpcPeeringConnection

Returns:

A VpcPeeringConnection resource