Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TestAlarmRequest

import type { TestAlarmRequest } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
interface TestAlarmRequest {
alarmName: string;
state: AlarmState;
}

§Properties

§
alarmName: string
[src]

The name of the alarm to test.

§

The alarm state to test.

An alarm has the following possible states that can be tested:

  • ALARM - The metric is outside of the defined threshold.
  • INSUFFICIENT_DATA - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.
  • OK - The metric is within the defined threshold.