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.
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.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CreateVpcRequest : AmazonEC2Request IRequestEvents
The CreateVpcRequest type exposes the following members
Name | Description | |
---|---|---|
CreateVpcRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
CreateVpcRequest(string) | Instantiates CreateVpcRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
CidrBlock | System.String |
Gets and sets the property CidrBlock.
The network range for the VPC, in CIDR notation. For example, |
|
InstanceTenancy | Amazon.EC2.Tenancy |
Gets and sets the property InstanceTenancy.
The supported tenancy options for instances launched into the VPC. A value of
Default: |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8