AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
Creates a VPC with the specified CIDR block.

The smallest VPC you can create uses a /28 netmask (16 IP addresses), and the largest uses a /16 netmask (65,536 IP addresses). To help you decide how big to make your VPC, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide.

By default, each instance you launch in the VPC has the default DHCP options, which includes only a default DNS server that we provide (AmazonProvidedDNS). For more information about DHCP options, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)


public abstract CreateVpcResponse CreateVpc(
         CreateVpcRequest request


Type: Amazon.EC2.Model.CreateVpcRequest

Container for the necessary parameters to execute the CreateVpc service method.

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

Version Information

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