Skip to main content

recovery_point_restore_metadatas

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

Overview

Namerecovery_point_restore_metadatas
TypeResource
Idaws.backup.recovery_point_restore_metadatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
backup_vault_arnstringAn ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.
recovery_point_arnstringAn ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
resource_typestringThe resource type of the recovery point. (pattern: <code>^[a-zA-Z0-9-_.]{1,50}$</code>)
restore_metadataobjectThe set of metadata key-value pairs that describe the original configuration of the backed-up resource. These values vary depending on the service that is being restored.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_recovery_point_restore_metadataselectbackup_vault_name, recovery_point_arn, regionbackupVaultAccountIdReturns a set of metadata key-value pairs that were used to create the backup.

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
backup_vault_namestringThe name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
recovery_point_arnstringAn Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
regionstringAWS region (default: us-east-1)
backupVaultAccountIdstringThe account ID of the specified backup vault.

SELECT examples

Returns a set of metadata key-value pairs that were used to create the backup.

SELECT
backup_vault_arn,
recovery_point_arn,
resource_type,
restore_metadata
FROM aws.backup.recovery_point_restore_metadatas
WHERE backup_vault_name = '{{ backup_vault_name }}' -- required
AND recovery_point_arn = '{{ recovery_point_arn }}' -- required
AND region = '{{ region }}' -- required
AND backupVaultAccountId = '{{ backupVaultAccountId }}'
;