Module: AWSCDK::ECS::AlarmBehavior
- Defined in:
- ecs/alarm_behavior.rb
Overview
Deployment behavior when an ECS Service Deployment Alarm is triggered.
Constant Summary collapse
- ROLLBACK_ON_ALARM =
Deprecated.Note:
Default:
ROLLBACK_ON_ALARM causes the service to roll back to the previous deployment when any deployment alarm enters the 'Alarm' state.
The Cloudformation stack will be rolled back and enter state "UPDATE_ROLLBACK_COMPLETE".
Jsii::Enum.new("aws-cdk-lib.aws_ecs.AlarmBehavior", "ROLLBACK_ON_ALARM")
- FAIL_ON_ALARM =
Deprecated.Note:
Default:
FAIL_ON_ALARM causes the deployment to fail immediately when any deployment alarm enters the 'Alarm' state.
In order to restore functionality, you must roll the stack forward by pushing a new version of the ECS service.
Jsii::Enum.new("aws-cdk-lib.aws_ecs.AlarmBehavior", "FAIL_ON_ALARM")