ó FRTc@s0dZddlmZdefd„ƒYZdS(s% Represents a Virtual Private Cloud. iĸĸĸĸ(tTaggedEC2ObjecttVPCcBsGeZdd„Zd„Zd„Zd„Zd„Zeed„Z RS(cCsPtt|ƒj|ƒd|_d|_d|_d|_d|_d|_ dS(s Represents a VPC. :ivar id: The unique ID of the VPC. :ivar dhcp_options_id: The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC). :ivar state: The current state of the VPC. :ivar cidr_block: The CIDR block for the VPC. :ivar is_default: Indicates whether the VPC is the default VPC. :ivar instance_tenancy: The allowed tenancy of instances launched into the VPC. N( tsuperRt__init__tNonetidtdhcp_options_idtstatet cidr_blockt is_defaulttinstance_tenancy(tselft connection((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyRs      cCs d|jS(NsVPC:%s(R(R ((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyt__repr__2scCsķ|dkr||_nš|dkr0||_n‚|dkrH||_nj|dkr`||_nR|dkrŠ|dkr~tnt|_n(|dkrĒ||_nt|||ƒdS(NtvpcIdt dhcpOptionsIdRt cidrBlockt isDefaultttruetinstanceTenancy( RRRRtTruetFalseR R tsetattr(R tnametvalueR ((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyt endElement5s           cCs|jj|jƒS(N(R t delete_vpcR(R ((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pytdeleteEscCs|jj|jƒdS(N(t__dict__tupdate(R tupdated((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyt_updateHscCsj|jj|jgd|ƒ}t|ƒrD|d}|j|ƒn|rctd|jfƒ‚n|jS(Ntdry_runis%s is not a valid VPC ID(R t get_all_vpcsRtlenRt ValueErrorR(R tvalidateR tvpc_listt updated_vpc((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyRKs     N( t__name__t __module__RRR RRRRR(((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyRs      N(t__doc__tboto.ec2.ec2objectRR(((s9/opt/freeware/lib/python2.7/site-packages/boto/vpc/vpc.pyts