Skip to content

ContainerServicePower

Source code in docs_src/capo_lightsail/types/container_service_power.py
class ContainerServicePower(TypedDict, closed=True):
    power_id: NotRequired["capo_lightsail.types.string.string"]
    """<p>The ID of the power (<code>nano-1</code>).</p>"""
    price: NotRequired["capo_lightsail.types.float.float"]
    """<p>The monthly price of the power in USD.</p>"""
    cpu_count: NotRequired["capo_lightsail.types.float.float"]
    """<p>The number of vCPUs included in the power.</p>"""
    ram_size_in_gb: NotRequired["capo_lightsail.types.float.float"]
    """<p>The amount of RAM (in GB) of the power.</p>"""
    name: NotRequired["capo_lightsail.types.string.string"]
    """<p>The friendly name of the power (<code>nano</code>).</p>"""
    is_active: NotRequired["capo_lightsail.types.boolean.boolean"]
    """<p>A Boolean value indicating whether the power is active and can be specified for container services.</p>"""

cpu_count instance-attribute

cpu_count: NotRequired[float]

The number of vCPUs included in the power.

is_active instance-attribute

is_active: NotRequired[boolean]

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

name instance-attribute

name: NotRequired[string]

The friendly name of the power (nano).

power_id instance-attribute

power_id: NotRequired[string]

The ID of the power (nano-1).

price instance-attribute

price: NotRequired[float]

The monthly price of the power in USD.

ram_size_in_gb instance-attribute

ram_size_in_gb: NotRequired[float]

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