AutoRollbackConfiguration - AWS CodeDeploy
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 5, 2026.

AutoRollbackConfiguration

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.

Contents

enabled

Indicates whether a defined automatic rollback configuration is currently enabled.

Type: Boolean

Required: No

events

The event type or types that trigger a rollback.

Type: Array of strings

Valid Values: DEPLOYMENT_FAILURE | DEPLOYMENT_STOP_ON_ALARM | DEPLOYMENT_STOP_ON_REQUEST

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: