Skip to main content

snapshot_limits

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

Overview

Namesnapshot_limits
TypeResource
Idaws.ds.snapshot_limits

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
manual_snapshots_current_countintegerThe current number of manual snapshots of the directory.
manual_snapshots_limitintegerThe maximum number of manual snapshots allowed.
manual_snapshots_limit_reachedbooleanIndicates if the manual snapshot limit has been reached.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_snapshot_limitsselectregionObtains the manual snapshot limits for a directory.

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

Obtains the manual snapshot limits for a directory.

SELECT
manual_snapshots_current_count,
manual_snapshots_limit,
manual_snapshots_limit_reached
FROM aws.ds.snapshot_limits
WHERE region = '{{ region }}' -- required
;