Skip to content

AddOnRequest

Source code in docs_src/capo_lightsail/types/add_on_request.py
class AddOnRequest(TypedDict, closed=True):
    add_on_type: "capo_lightsail.types.add_on_type.AddOnType"
    """<p>The add-on type.</p>"""
    auto_snapshot_add_on_request: NotRequired[
        "capo_lightsail.types.auto_snapshot_add_on_request.AutoSnapshotAddOnRequest"
    ]
    """<p>An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.</p>"""
    stop_instance_on_idle_request: NotRequired[
        "capo_lightsail.types.stop_instance_on_idle_request.StopInstanceOnIdleRequest"
    ]
    """<p>An object that represents additional parameters when enabling or modifying the <code>StopInstanceOnIdle</code> add-on.</p> <important> <p>This object only applies to Lightsail for Research resources.</p> </important>"""

add_on_type instance-attribute

add_on_type: AddOnType

The add-on type.

auto_snapshot_add_on_request instance-attribute

auto_snapshot_add_on_request: NotRequired[AutoSnapshotAddOnRequest]

An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.

stop_instance_on_idle_request instance-attribute

stop_instance_on_idle_request: NotRequired[StopInstanceOnIdleRequest]

An object that represents additional parameters when enabling or modifying the StopInstanceOnIdle add-on.

This object only applies to Lightsail for Research resources.