Creates a VPC with the CIDR block you specify. The smallest VPC you can create uses a /28 netmask (16 IP addresses), and the largest uses a /18 netmask (16,384 IP addresses). To help you decide how big to make your VPC, go to the topic about creating VPCs in the Amazon Virtual Private Cloud Developer Guide. By default, each instance you launch in the VPC has the default DHCP options (the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type). AWS might delete any VPC that you create with this operation if you leave it inactive for an extended period of time (inactive means that there are no running Amazon EC2 instances in the VPC).

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class CreateVpcRequest
Public Class CreateVpcRequest
public ref class CreateVpcRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CreateVpcRequest()()()()
Initializes a new instance of the CreateVpcRequest class
CidrBlock
Gets and sets the CidrBlock property. A valid CIDR block. Constraints: Must contain the slash followed by one or two digits (e.g., /28)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InstanceTenancy
Gets and sets the InstanceTenancy property. The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means instances must be launched with tenancy as dedicated. Valid Values: default | dedicated
IsSetCidrBlock()()()()
Checks if CidrBlock property is set
IsSetInstanceTenancy()()()()
Checks if InstanceTenancy property is set
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithCidrBlock(String)
Sets the CidrBlock property
WithInstanceTenancy(String)
Sets the InstanceTenancy property Valid Values: default | dedicated

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..CreateVpcRequest

See Also