AWS SDK Version 3 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.

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
Type: Amazon.EC2.IAmazonEC2

The ec2client used to create the VPC

Type: Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest

The properties used to create the VPC.

Return Value
The response contains all the VPC objects that were created.

Version Information

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