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

Behavior

import type { Behavior } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";

A Device Defender security profile behavior.

interface Behavior {
criteria?: BehaviorCriteria | null;
metric?: string | null;
metricDimension?: MetricDimension | null;
name: string;
suppressAlerts?: boolean | null;
}

§Properties

§
criteria?: BehaviorCriteria | null
[src]

The criteria that determine if a device is behaving normally in regard to the metric.

§
metric?: string | null
[src]

What is measured by the behavior.

§
metricDimension?: MetricDimension | null
[src]

The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric to only MQTT topics where the name matches the pattern specified in the dimension. This can't be used with custom metrics.

§
name: string
[src]

The name you've given to the behavior.

§
suppressAlerts?: boolean | null
[src]

Suppresses alerts.