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 static IP.

Inheritance Hierarchy


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


public class StaticIp

The StaticIp type exposes the following members


Public Method StaticIp()


Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

Public Property AttachedTo System.String

Gets and sets the property AttachedTo.

The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).

Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

The timestamp when the static IP was created (e.g., 1479735304.222).

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The static IP address.

Public Property IsAttached System.Boolean

Gets and sets the property IsAttached.

A Boolean value indicating whether the static IP is attached.

Public Property Location Amazon.Lightsail.Model.ResourceLocation

Gets and sets the property Location.

The region and Availability Zone where the static IP was created.

Public Property Name System.String

Gets and sets the property Name.

The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

Public Property ResourceType Amazon.Lightsail.ResourceType

Gets and sets the property ResourceType.

The resource type (usually StaticIp).

Public Property SupportCode System.String

Gets and sets the property SupportCode.

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms