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 look up the current VPC NAT ami in the region and create an instance in the subnet specified.

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public Instance LaunchNATInstance(
         IAmazonEC2 ec2Client,
         LaunchNATInstanceRequest request
)
Parameters
ec2Client
Type: Amazon.EC2.IAmazonEC2

The ec2client used to create the NAT instance

request
Type: Amazon.EC2.Util.LaunchNATInstanceRequest

The properties used to launch the NAT instance.

Return Value
Type: Instance

Version Information

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