/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource Type definition for AWS::LookoutMetrics::Alert */ export interface AwsLookoutmetricsAlert { /** * The name of the alert. If not provided, a name is generated automatically. */ AlertName?: string; /** * ARN assigned to the alert. */ Arn?: string; /** * A description for the alert. */ AlertDescription?: string; /** * The Amazon resource name (ARN) of the Anomaly Detector to alert. */ AnomalyDetectorArn: string; /** * A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert. */ AlertSensitivityThreshold: number; Action: Action; } /** * The action to be taken by the alert when an anomaly is detected. */ export interface Action { SNSConfiguration?: SNSConfiguration; LambdaConfiguration?: LambdaConfiguration; } /** * Configuration options for an SNS alert action. */ export interface SNSConfiguration { /** * ARN of an IAM role that LookoutMetrics should assume to access the SNS topic. */ RoleArn: string; /** * ARN of an SNS topic to send alert notifications to. */ SnsTopicArn: string; } /** * Configuration options for a Lambda alert action. */ export interface LambdaConfiguration { /** * ARN of an IAM role that LookoutMetrics should assume to access the Lambda function. */ RoleArn: string; /** * ARN of a Lambda to send alert notifications to. */ LambdaArn: string; }