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

SNSConfiguration

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

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.

interface SNSConfiguration {
RoleArn: string;
SnsFormat?: SnsFormat | null;
SnsTopicArn: string;
}

§Properties

§
RoleArn: string
[src]

The ARN of the IAM role that has access to the target SNS topic.

§
SnsFormat?: SnsFormat | null
[src]

The format of the SNS topic.

  • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.
  • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.
  • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.
§
SnsTopicArn: string
[src]

The ARN of the target SNS topic.