AmazonEC2Client.CreateVpc Method (CreateVpcRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

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

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

Syntax

C#
public virtual CreateVpcResponse CreateVpc(
         CreateVpcRequest request
)

Parameters

request
Type: Amazon.EC2.Model.CreateVpcRequest

Return Value
Type: Amazon.EC2.Model.CreateVpcResponse
The response from the CreateVpc service method, as returned by AmazonEC2.

Version Information

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