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

#arn ⇒ 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).

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_to ⇒ String

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_at ⇒ Time

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_address ⇒ String

The static IP address.

Returns:

  • (String) —

    The static IP address.

#is_attached ⇒ Boolean

A Boolean value indicating whether the static IP is attached.

Returns:

  • (Boolean) —

    A Boolean value indicating whether the static IP is attached.

#location ⇒ Types::ResourceLocation

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

Returns:

#name ⇒ String

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_type ⇒ String

The resource type (usually StaticIp).

Possible values:

  • ContainerService
  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc
  • LoadBalancer
  • LoadBalancerTlsCertificate
  • Disk
  • DiskSnapshot
  • RelationalDatabase
  • RelationalDatabaseSnapshot
  • ExportSnapshotRecord
  • CloudFormationStackRecord
  • Alarm
  • ContactMethod
  • Distribution
  • Certificate

Returns:

  • (String) —

    The resource type (usually StaticIp).

#support_code ⇒ String

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.