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

TargetTrackingMetricStat

import type { TargetTrackingMetricStat } from "https://aws-api.deno.dev/v0.4/services/autoscaling.ts?docs=full";

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

interface TargetTrackingMetricStat {
Metric: Metric;
Stat: string;
Unit?: string | null;
}

§Properties

§
Stat: string
[src]

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for scaling is Average

§
Unit?: string | null
[src]

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.