libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.StaticIp

Description

 
Synopsis

Documentation

data StaticIp Source #

Describes a static IP.

See: newStaticIp smart constructor.

Constructors

StaticIp' 

Fields

  • ipAddress :: Maybe Text

    The static IP address.

  • resourceType :: Maybe ResourceType

    The resource type (usually StaticIp).

  • arn :: Maybe Text

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

  • createdAt :: Maybe POSIX

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

  • location :: Maybe ResourceLocation

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

  • isAttached :: Maybe Bool

    A Boolean value indicating whether the static IP is attached.

  • name :: Maybe Text

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

  • supportCode :: Maybe Text

    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.

  • attachedTo :: Maybe Text

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

Instances

Instances details
Eq StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Read StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Show StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Generic StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Associated Types

type Rep StaticIp :: Type -> Type #

Methods

from :: StaticIp -> Rep StaticIp x #

to :: Rep StaticIp x -> StaticIp #

NFData StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Methods

rnf :: StaticIp -> () #

Hashable StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Methods

hashWithSalt :: Int -> StaticIp -> Int #

hash :: StaticIp -> Int #

FromJSON StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

type Rep StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

newStaticIp :: StaticIp Source #

Create a value of StaticIp with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ipAddress:StaticIp', staticIp_ipAddress - The static IP address.

$sel:resourceType:StaticIp', staticIp_resourceType - The resource type (usually StaticIp).

$sel:arn:StaticIp', staticIp_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).

$sel:createdAt:StaticIp', staticIp_createdAt - The timestamp when the static IP was created (e.g., 1479735304.222).

$sel:location:StaticIp', staticIp_location - The region and Availability Zone where the static IP was created.

$sel:isAttached:StaticIp', staticIp_isAttached - A Boolean value indicating whether the static IP is attached.

$sel:name:StaticIp', staticIp_name - The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

$sel:supportCode:StaticIp', staticIp_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.

$sel:attachedTo:StaticIp', staticIp_attachedTo - The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).

staticIp_ipAddress :: Lens' StaticIp (Maybe Text) Source #

The static IP address.

staticIp_resourceType :: Lens' StaticIp (Maybe ResourceType) Source #

The resource type (usually StaticIp).

staticIp_arn :: Lens' StaticIp (Maybe Text) Source #

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

staticIp_createdAt :: Lens' StaticIp (Maybe UTCTime) Source #

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

staticIp_location :: Lens' StaticIp (Maybe ResourceLocation) Source #

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

staticIp_isAttached :: Lens' StaticIp (Maybe Bool) Source #

A Boolean value indicating whether the static IP is attached.

staticIp_name :: Lens' StaticIp (Maybe Text) Source #

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

staticIp_supportCode :: Lens' StaticIp (Maybe Text) Source #

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.

staticIp_attachedTo :: Lens' StaticIp (Maybe Text) Source #

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