AWS SDK for .NET Documentation
LaunchVPCWithPublicSubnet Method (ec2Client, request)
AmazonAmazon.EC2.UtilVPCUtilitiesLaunchVPCWithPublicSubnet(AmazonEC2, LaunchVPCWithPublicSubnetRequest) Did this page help you?   Yes   No    Tell us about it...
This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.
Declaration Syntax
C#
public static LaunchVPCWithPublicSubnetResponse LaunchVPCWithPublicSubnet(
	AmazonEC2 ec2Client,
	LaunchVPCWithPublicSubnetRequest request
)
Parameters
ec2Client (AmazonEC2)
The ec2client used to create the VPC
request (LaunchVPCWithPublicSubnetRequest)
The properties used to create the VPC.
Return Value
The response contains all the VPC objects that were created.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)