Skip to main content

availability_monitor_tests

Creates, updates, deletes, gets or lists an availability_monitor_tests resource.

Overview

Nameavailability_monitor_tests
TypeResource
Idaws.storagegateway.availability_monitor_tests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
gateway_arnstringThe Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
start_timestring (date-time)The time the high availability monitoring test was started. If a test hasn't been performed, the value of this field is null.
statusstringThe status of the high availability monitoring test. If a test hasn't been performed, the value of this field is null. (COMPLETE, FAILED, PENDING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_availability_monitor_testselectregionReturns information about the most recent high availability monitoring test that was performed on the host in a cluster. If a test isn't performed, the status and start time in the response would be null.

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 information about the most recent high availability monitoring test that was performed on the host in a cluster. If a test isn't performed, the status and start time in the response would be null.

SELECT
gateway_arn,
start_time,
status
FROM aws.storagegateway.availability_monitor_tests
WHERE region = '{{ region }}' -- required
;