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)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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 (e.g., nano).

Returns:

  • (String)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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 (e.g., nano-1).

Returns:

  • (String)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2712

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