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.
This method will create a VPC, a public subnet, private subnet and a NAT EC2 instance to allow EC2 instances in the private subnet to establish outbound connections to the internet.
public LaunchVPCWithPublicAndPrivateSubnetsResponse LaunchVPCWithPublicAndPrivateSubnets( IAmazonEC2 ec2Client, LaunchVPCWithPublicAndPrivateSubnetsRequest request )
The ec2client used to create the VPC
The properties used to create the VPC.
Supported in: 4.5, 4.0, 3.5