aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
25 lines (24 loc) • 773 B
TypeScript
/**
* The configuration for automatically rolling back deployments in a given Deployment Group.
*/
export interface AutoRollbackConfig {
/**
* Whether to automatically roll back a deployment that fails.
*
* @default true
*/
readonly failedDeployment?: boolean;
/**
* Whether to automatically roll back a deployment that was manually stopped.
*
* @default false
*/
readonly stoppedDeployment?: boolean;
/**
* Whether to automatically roll back a deployment during which one of the configured
* CloudWatch alarms for this Deployment Group went off.
*
* @default true if you've provided any Alarms with the `alarms` property, false otherwise
*/
readonly deploymentInAlarm?: boolean;
}