import * as cdk from "aws-cdk-lib"; import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch"; import * as constructs from "constructs"; export interface SesAlarmsProps extends cdk.StackProps { /** * The default action to use for CloudWatch alarm state changes */ action: cloudwatch.IAlarmAction; /** * Configuration for an alarm for high rate bounced messages. * * @default Configured with reasonable defaults. */ bouncedMessagesAlarm?: { /** * @default true */ enabled?: boolean; /** * An action to use for CloudWatch alarm state changes instead of the default action */ action?: cloudwatch.IAlarmAction; /** * @default 10 minutes */ period?: cdk.Duration; /** * Threshold value for alarm as a percent * @default 2.5(%) * 5% is the threshold at which AWS considers putting an account under review */ threshold?: number; }; /** * Configuration for an alarm for high complaint rate. * * @default Configured with sane defaults. */ complaintRateAlarm?: { /** * @default true */ enabled?: boolean; /** * An action to use for CloudWatch alarm state changes instead of the default action */ action?: cloudwatch.IAlarmAction; /** * @default 10 minutes */ period?: cdk.Duration; /** * Threshold value for alarm as a percent * @default 0.05(%) * 0.10% is the threshold at which AWS considers putting an account under review */ threshold?: number; }; } /** * * Construct that configures various sensible CloudWatch alarms for AWS SES */ export declare class SesAlarms extends constructs.Construct { private readonly action; constructor(scope: constructs.Construct, id: string, props: SesAlarmsProps); }