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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_count ⇒ Float

The number of vCPUs included in the power.

Returns:

  • (Float) —

    The number of vCPUs included in the power.

#is_active ⇒ Boolean

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

Returns:

  • (Boolean) —

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

#name ⇒ String

The friendly name of the power (e.g., nano).

Returns:

  • (String) —

    The friendly name of the power (e.g., nano).

#power_id ⇒ String

The ID of the power (e.g., nano-1).

Returns:

  • (String) —

    The ID of the power (e.g., nano-1).

#price ⇒ Float

The monthly price of the power in USD.

Returns:

  • (Float) —

    The monthly price of the power in USD.

#ram_size_in_gb ⇒ Float

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

Returns:

  • (Float) —

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