Skip to content
v2.273.0

DaemonAlarmConfigurationProperty Struct ​

The CloudWatch alarm configuration for a daemon.

When enabled, CloudWatch alarms determine whether a daemon deployment has failed.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const daemonAlarmConfigurationProperty: ecs.CfnDaemon.DaemonAlarmConfigurationProperty = {
  alarmNames: ['alarmNames'],
  enable: false,
};

Properties ​

alarmNamesstring[]alarm_namestyping.List[str]alarmNamesList<String>AlarmNamesstring[]AlarmNames*[]*string#
The CloudWatch alarm names to monitor during a daemon deployment.
enableboolean | IResolvableenabletyping.Union[bool, IResolvable]enableBooleanEnableboolEnableinterface{}#
Determines whether to use the CloudWatch alarm option in the daemon deployment process.

The default value is false.