Skip to main content

backup_plan_from_templates

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

Overview

Namebackup_plan_from_templates
TypeResource
Idaws.backup.backup_plan_from_templates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
advanced_backup_settingsarrayContains a list of BackupOptions for each resource type.
backup_plan_namestringThe display name of a backup plan. Must contain only alphanumeric or '-_.' special characters. If this is set in the console, it can contain 1 to 50 characters; if this is set through CLI or API, it can contain 1 to 200 characters.
rulesarrayAn array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
scan_settingsarrayContains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_backup_plan_from_templateselecttemplate_id, regionReturns the template specified by its templateId as a backup plan.

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)
template_idstringUniquely identifies a stored backup plan template.

SELECT examples

Returns the template specified by its templateId as a backup plan.

SELECT
advanced_backup_settings,
backup_plan_name,
rules,
scan_settings
FROM aws.backup.backup_plan_from_templates
WHERE template_id = '{{ template_id }}' -- required
AND region = '{{ region }}' -- required
;