DaemonDeploymentConfigurationProperty Struct
Optional deployment parameters that control how a daemon rolls out updates across container instances.
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 daemonDeploymentConfigurationProperty: ecs.CfnDaemon.DaemonDeploymentConfigurationProperty = {
alarms: {
alarmNames: ['alarmNames'],
enable: false,
},
bakeTimeInMinutes: 123,
drainPercent: 123,
};
Properties
alarmsoptionalIResolvable | CfnDaemon.DaemonAlarmConfigurationPropertyalarmsoptionaltyping.Union[IResolvable, DaemonAlarmConfigurationProperty]alarmsoptionalIResolvableAlarmsoptionalIResolvableAlarmsoptionalinterface{}#The CloudWatch alarm configuration for a daemon.
When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
bakeTimeInMinutesoptionalnumberbake_time_in_minutesoptionalint | floatbakeTimeInMinutesoptionalNumberBakeTimeInMinutesoptionaldoubleBakeTimeInMinutesoptional*float64#The amount of time (in minutes) to wait after a successful deployment step before proceeding.
This allows time to monitor for issues before continuing. The default value is 0.
drainPercentoptionalnumberdrain_percentoptionalint | floatdrainPercentoptionalNumberDrainPercentoptionaldoubleDrainPercentoptional*float64#The percentage of container instances to drain simultaneously during a daemon deployment.
Valid values are between 0.0 and 100.0.