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.