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-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

Returns:

  • (String)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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-Virginia-1).

Returns:

  • (String)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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.



2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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-Virginia-EXAMPLE).

Returns:

  • (String)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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)


2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2757

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