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.

Describes the IP addresses and network interface associated with a NAT gateway.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.NatGatewayAddress

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

Syntax

C#
public class NatGatewayAddress

The NatGatewayAddress type exposes the following members

Constructors

NameDescription
Public Method NatGatewayAddress()

Properties

NameTypeDescription
Public Property AllocationId System.String

Gets and sets the property AllocationId.

[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.

Public Property AssociationId System.String

Gets and sets the property AssociationId.

[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.

Public Property FailureMessage System.String

Gets and sets the property FailureMessage.

The address failure message.

Public Property IsPrimary System.Boolean

Gets and sets the property IsPrimary.

Defines if the IP address is the primary address.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface associated with the NAT gateway.

Public Property PrivateIp System.String

Gets and sets the property PrivateIp.

The private IP address associated with the NAT gateway.

Public Property PublicIp System.String

Gets and sets the property PublicIp.

[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.

Public Property Status Amazon.EC2.NatGatewayAddressStatus

Gets and sets the property Status.

The address status.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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