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 with a subnet that will have an internet gateway attached making instances available to the internet.
Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public LaunchVPCWithPublicSubnetResponse LaunchVPCWithPublicSubnet(
IAmazonEC2 ec2Client,
LaunchVPCWithPublicSubnetRequest request
)
The ec2client used to create the VPC
The properties used to create the VPC.
.NET Framework:
Supported in: 4.5 and newer, 3.5