You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::StaticIp

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes the static IP.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)

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

#attached_toString

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

Returns:

  • (String)

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

#created_atTime

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

Returns:

  • (Time)

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

#ip_addressString

The static IP address.

Returns:

  • (String)

    The static IP address.

#is_attachedBoolean

A Boolean value indicating whether the static IP is attached.

Returns:

  • (Boolean)

    A Boolean value indicating whether the static IP is attached.

#locationTypes::ResourceLocation

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

Returns:

#nameString

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

Returns:

  • (String)

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

#resource_typeString

The resource type (usually StaticIp).

Possible values:

  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc
  • LoadBalancer
  • LoadBalancerTlsCertificate
  • Disk
  • DiskSnapshot

Returns:

  • (String)

    The resource type (usually StaticIp).

#support_codeString

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.

Returns:

  • (String)

    The support code.