ServiceResource / Sub-Resource / Vpc

Vpc#

EC2.ServiceResource.Vpc(id)#

Creates a Vpc resource.:

vpc = ec2.Vpc('id')
Parameters:

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

Return type:

EC2.Vpc

Returns:

A Vpc resource