CreateVpcRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the CreateVpc operation.

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).

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.CreateVpcRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class CreateVpcRequest : AmazonWebServiceRequest
         IRequestEvents

The CreateVpcRequest type exposes the following members

Constructors

  Name Description
Public Method CreateVpcRequest()

Properties

  Name Description
Public Property CidrBlock A valid CIDR block.
Public Property InstanceTenancy 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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8