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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Describes the static IP.

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)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#attached_toString

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

Returns:

  • (String)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#created_atTime

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

Returns:

  • (Time)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#ip_addressString

The static IP address.

Returns:

  • (String)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#is_attachedBoolean

A Boolean value indicating whether the static IP is attached.

Returns:

  • (Boolean)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#locationTypes::ResourceLocation

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



4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#resource_typeString

The resource type (usually StaticIp).

Returns:

  • (String)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end

#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)


4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4535

class StaticIp < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :ip_address,
  :attached_to,
  :is_attached)
  include Aws::Structure
end