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_countFloat

The number of vCPUs included in the power.

Returns:

  • (Float)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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

#is_activeBoolean

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

Returns:

  • (Boolean)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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

#nameString

The friendly name of the power (nano).

Returns:

  • (String)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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

#power_idString

The ID of the power (nano-1).

Returns:

  • (String)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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

#priceFloat

The monthly price of the power in USD.

Returns:

  • (Float)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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

#ram_size_in_gbFloat

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

Returns:

  • (Float)


2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2704

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