Skip to content

CreateInstanceSnapshotRequest

Source code in docs_src/capo_lightsail/types/create_instance_snapshot_request.py
class CreateInstanceSnapshotRequest(TypedDict, closed=True):
    instance_snapshot_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name for your new snapshot.</p>"""
    instance_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The Lightsail instance on which to base your snapshot.</p>"""
    tags: NotRequired["capo_lightsail.types.tag_list.TagList"]
    """<p>The tag keys and optional values to add to the resource during create.</p> <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>"""

instance_name instance-attribute

instance_name: ResourceName

The Lightsail instance on which to base your snapshot.

instance_snapshot_name instance-attribute

instance_snapshot_name: ResourceName

The name for your new snapshot.

tags instance-attribute

tags: NotRequired[TagList]

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.