/* 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::CloudWatch::Alarm */ export interface AwsCloudwatchAlarm { ThresholdMetricId?: string; EvaluateLowSampleCountPercentile?: string; ExtendedStatistic?: string; ComparisonOperator: string; TreatMissingData?: string; Dimensions?: Dimension[]; Period?: number; EvaluationPeriods: number; Unit?: string; Namespace?: string; OKActions?: string[]; AlarmActions?: string[]; MetricName?: string; ActionsEnabled?: boolean; Metrics?: MetricDataQuery[]; AlarmDescription?: string; AlarmName?: string; Statistic?: string; InsufficientDataActions?: string[]; Id?: string; Arn?: string; DatapointsToAlarm?: number; Threshold?: number; } export interface Dimension { Value: string; Name: string; } export interface MetricDataQuery { AccountId?: string; ReturnData?: boolean; Expression?: string; Label?: string; MetricStat?: MetricStat; Period?: number; Id: string; } export interface MetricStat { Period: number; Metric: Metric; Stat: string; Unit?: string; } export interface Metric { MetricName?: string; Dimensions?: Dimension[]; Namespace?: string; }