:doc:`ServiceResource <index>` / Sub-Resource / Vpc

***
Vpc
***



.. py:method:: EC2.ServiceResource.Vpc(id)

  Creates a Vpc resource.::

    vpc = ec2.Vpc('id')

  :type id: string
  :param id: The Vpc's id identifier. This **must** be set.
  
  :rtype: :py:class:`EC2.Vpc`
  :returns: A Vpc resource
  