Skip to main content

recovery_snapshots

Creates, updates, deletes, gets or lists a recovery_snapshots resource.

Overview

Namerecovery_snapshots
TypeResource
Idaws.drs.recovery_snapshots

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ebs_snapshotsarrayA list of EBS snapshots.
expected_timestampstringThe timestamp of when we expect the snapshot to be taken. (pattern: <code>[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](.[0-9]+)?Z</code>)
snapshot_idstringThe ID of the Recovery Snapshot. (pattern: <code>pit-[0-9a-zA-Z]{17}</code>)
source_server_idstringThe ID of the Source Server that the snapshot was taken for. (pattern: <code>s-[0-9a-zA-Z]{17}</code>)
timestampstringThe actual timestamp that the snapshot was taken. (pattern: <code>[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](.[0-9]+)?Z</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_recovery_snapshotsselectregionLists all Recovery Snapshots for a single Source Server.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all Recovery Snapshots for a single Source Server.

SELECT
ebs_snapshots,
expected_timestamp,
snapshot_id,
source_server_id,
timestamp
FROM aws.drs.recovery_snapshots
WHERE region = '{{ region }}' -- required
;