Class: Aws::Lightsail::Types::ContainerServicePower

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

Overview

Describes the powers that can be specified for an Amazon Lightsail container service.

The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_count ⇒ Float

The number of vCPUs included in the power.

Returns:

  • (Float)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end

#is_active ⇒ Boolean

A Boolean value indicating whether the power is active and can be specified for container services.

Returns:

  • (Boolean)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The friendly name of the power (nano).

Returns:

  • (String)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end

#power_id ⇒ String

The ID of the power (nano-1).

Returns:

  • (String)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end

#price ⇒ Float

The monthly price of the power in USD.

Returns:

  • (Float)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end

#ram_size_in_gb ⇒ Float

The amount of RAM (in GB) of the power.

Returns:

  • (Float)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2765

class ContainerServicePower < Struct.new(
  :power_id,
  :price,
  :cpu_count,
  :ram_size_in_gb,
  :name,
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end