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

.NET Framework 3.5
 
This class has utility methods used for setting up a VPC.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Util.VPCUtilities

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public static class VPCUtilities : Object

The VPCUtilities type exposes the following members

Methods

NameDescription
Public Method Static Method FindNATImage(IAmazonEC2) Find the current VPC NAT image in the region for the AmazonEC2 client.
Public Method Static Method FindNATImage(IAmazonEC2, VirtualizationType) Find the current VPC NAT image in the region for the AmazonEC2 client.
Public Method Static Method LaunchNATInstance(IAmazonEC2, LaunchNATInstanceRequest) This method will look up the current VPC NAT ami in the region and create an instance in the subnet specified.
Public Method Static Method LaunchVPCWithPublicAndPrivateSubnets(IAmazonEC2, LaunchVPCWithPublicAndPrivateSubnetsRequest) 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 Method Static Method LaunchVPCWithPublicSubnet(IAmazonEC2, LaunchVPCWithPublicSubnetRequest) This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.

Version Information

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