snapshot_limits
Creates, updates, deletes, gets or lists a snapshot_limits resource.
Overview
| Name | snapshot_limits |
| Type | Resource |
| Id | aws.ds.snapshot_limits |
Fields
The following fields are returned by SELECT queries:
- get_snapshot_limits
| Name | Datatype | Description |
|---|---|---|
manual_snapshots_current_count | integer | The current number of manual snapshots of the directory. |
manual_snapshots_limit | integer | The maximum number of manual snapshots allowed. |
manual_snapshots_limit_reached | boolean | Indicates if the manual snapshot limit has been reached. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_snapshot_limits | select | region | Obtains 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_snapshot_limits
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
;