Skip to main content

distribution_latest_cache_resets

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

Overview

Namedistribution_latest_cache_resets
TypeResource
Idaws.lightsail.distribution_latest_cache_resets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
create_timestring (date-time)The timestamp of the last cache reset (1479734909.17) in Unix time format.
statusstringThe status of the last cache reset.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_distribution_latest_cache_resetselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;