Skip to content

CreateDiskSnapshotRequest

Source code in docs_src/capo_lightsail/types/create_disk_snapshot_request.py
class CreateDiskSnapshotRequest(TypedDict, closed=True):
    disk_name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The unique name of the source disk (<code>Disk-Virginia-1</code>).</p> <note> <p>This parameter cannot be defined together with the <code>instance name</code> parameter. The <code>disk name</code> and <code>instance name</code> parameters are mutually exclusive.</p> </note>"""
    disk_snapshot_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the destination disk snapshot (<code>my-disk-snapshot</code>) based on the source disk.</p>"""
    instance_name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The unique name of the source instance (<code>Amazon_Linux-512MB-Virginia-1</code>). When this is defined, a snapshot of the instance's system volume is created.</p> <note> <p>This parameter cannot be defined together with the <code>disk name</code> parameter. The <code>instance name</code> and <code>disk name</code> parameters are mutually exclusive.</p> </note>"""
    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>"""

disk_name instance-attribute

disk_name: NotRequired[ResourceName]

The unique name of the source disk (Disk-Virginia-1).

This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.

disk_snapshot_name instance-attribute

disk_snapshot_name: ResourceName

The name of the destination disk snapshot (my-disk-snapshot) based on the source disk.

instance_name instance-attribute

instance_name: NotRequired[ResourceName]

The unique name of the source instance (Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

This parameter cannot be defined together with the disk name parameter. The instance name and disk name parameters are mutually exclusive.

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.