distribution_latest_cache_resets
Creates, updates, deletes, gets or lists a distribution_latest_cache_resets resource.
Overview
| Name | distribution_latest_cache_resets |
| Type | Resource |
| Id | aws.lightsail.distribution_latest_cache_resets |
Fields
The following fields are returned by SELECT queries:
- get_distribution_latest_cache_reset
| Name | Datatype | Description |
|---|---|---|
create_time | string (date-time) | The timestamp of the last cache reset (1479734909.17) in Unix time format. |
status | string | The status of the last cache reset. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_distribution_latest_cache_reset | select | region | Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution. |
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_distribution_latest_cache_reset
Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
SELECT
create_time,
status
FROM aws.lightsail.distribution_latest_cache_resets
WHERE region = '{{ region }}' -- required
;