import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch"; import type * as ec2 from "aws-cdk-lib/aws-ec2"; import * as ecs from "aws-cdk-lib/aws-ecs"; import * as logs from "aws-cdk-lib/aws-logs"; import * as constructs from "constructs"; export interface ClusterProps { /** * @default will be generated */ clusterName?: string; vpc: ec2.IVpc; /** * @default no alarms will be set up */ alarmAction?: cloudwatch.IAlarmAction; } export declare class Cluster extends constructs.Construct { readonly cluster: ecs.Cluster; readonly clusterEventLogs: logs.LogGroup; constructor(scope: constructs.Construct, id: string, props: ClusterProps); /** * Monitor high number of restarts which typically signal a failing task. */ private addRestartFrequencyAlarm; }