AutoRollbackConfig

class aws_cdk.aws_codedeploy.AutoRollbackConfig(*, deployment_in_alarm=None, failed_deployment=None, stopped_deployment=None)

Bases: object

__init__(*, deployment_in_alarm=None, failed_deployment=None, stopped_deployment=None)

The configuration for automatically rolling back deployments in a given Deployment Group.

Parameters
  • deployment_in_alarm (Optional[bool]) – 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

  • failed_deployment (Optional[bool]) – Whether to automatically roll back a deployment that fails. Default: true

  • stopped_deployment (Optional[bool]) – Whether to automatically roll back a deployment that was manually stopped. Default: false

Attributes

deployment_in_alarm

Whether to automatically roll back a deployment during which one of the configured CloudWatch alarms for this Deployment Group went off.

default :default: true if you’ve provided any Alarms with the alarms property, false otherwise

Return type

Optional[bool]

failed_deployment

Whether to automatically roll back a deployment that fails.

default :default: true

Return type

Optional[bool]

stopped_deployment

Whether to automatically roll back a deployment that was manually stopped.

default :default: false

Return type

Optional[bool]