CopySnapshotRequest
¶
Source code in docs_src/capo_lightsail/types/copy_snapshot_request.py
restore_date
instance-attribute
¶
restore_date: NotRequired[string]
The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.
Constraints:
-
Must be specified in
YYYY-MM-DDformat. -
This parameter cannot be defined together with the
use latest restorable auto snapshotparameter. Therestore dateanduse latest restorable auto snapshotparameters are mutually exclusive. -
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
source_region
instance-attribute
¶
source_region: RegionName
The Amazon Web Services Region where the source manual or automatic snapshot is located.
source_resource_name
instance-attribute
¶
source_resource_name: NotRequired[string]
The name of the source instance or disk from which the source automatic snapshot was created.
Constraint:
-
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.
source_snapshot_name
instance-attribute
¶
source_snapshot_name: NotRequired[ResourceName]
The name of the source manual snapshot to copy.
Constraint:
-
Define this parameter only when copying a manual snapshot as another manual snapshot.
target_snapshot_name
instance-attribute
¶
target_snapshot_name: ResourceName
The name of the new manual snapshot to be created as a copy.
use_latest_restorable_auto_snapshot
instance-attribute
¶
use_latest_restorable_auto_snapshot: NotRequired[boolean]
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.
Constraints:
-
This parameter cannot be defined together with the
restore dateparameter. Theuse latest restorable auto snapshotandrestore dateparameters are mutually exclusive. -
Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.