C# Class Amazon.EC2.Model.CreateVpcRequest

Container for the parameters to the CreateVpc operation.

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 .

Inheritance: AmazonEC2Request
ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateVpcRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateVpcRequest ( string cidrBlock ) : System

Instantiates CreateVpcRequest with the parameterized properties

Private Methods

Method Description
IsSetAmazonProvidedIpv6CidrBlock ( ) : bool
IsSetCidrBlock ( ) : bool
IsSetInstanceTenancy ( ) : bool

Method Details

CreateVpcRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateVpcRequest ( ) : System
return System

CreateVpcRequest() public method

Instantiates CreateVpcRequest with the parameterized properties
public CreateVpcRequest ( string cidrBlock ) : System
cidrBlock string The IPv4 network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
return System