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

Dimension

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

A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish InstanceId as a dimension name, and the actual instance ID as the value for that dimension.

You can assign up to 30 dimensions to a metric.

interface Dimension {
Name: string;
Value: string;
}

§Properties

§
Name: string
[src]

The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

§
Value: string
[src]

The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.