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 4.5
 
Describes an Elastic IP address.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.Address

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

Syntax

C#
public class Address : Object

The Address type exposes the following members

Constructors

NameDescription
Public Method Address()

Properties

NameTypeDescription
Public Property AllocationId System.String Gets and sets the property AllocationId.

The ID representing the allocation of the address for use with EC2-VPC.

Public Property AssociationId System.String Gets and sets the property AssociationId.

The ID representing the association of the address with an instance in a VPC.

Public Property Domain Amazon.EC2.DomainType Gets and sets the property Domain.

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

Public Property InstanceId System.String Gets and sets the property InstanceId.

The ID of the instance that the address is associated with (if any).

Public Property NetworkInterfaceId System.String Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property NetworkInterfaceOwnerId System.String Gets and sets the property NetworkInterfaceOwnerId.

The ID of the AWS account that owns the network interface.

Public Property PrivateIpAddress System.String Gets and sets the property PrivateIpAddress.

The private IP address associated with the Elastic IP address.

Public Property PublicIp System.String Gets and sets the property PublicIp.

The Elastic IP address.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8