Skip to content

CloudFormation  >  Structures  >  DeploymentConfig

DeploymentConfig

Structure Class

DeploymentConfig dataclass

Bases: _SerdeShape

The deployment configuration for a stack operation, including the deployment mode.

Attributes

disable_rollback class-attribute instance-attribute
disable_rollback: bool | None = ...

Specifies whether to disable rollback of the stack if the stack operation fails.

Default: false

mode class-attribute instance-attribute
mode: str | None = ...

Specifies the deployment mode for the stack operation. Possible values are:

  • STANDARD - Use the standard deployment behavior, ensuring resources are ready to serve traffic before completing the operation. This is the default. You do not need to specify this value explicitly.

  • EXPRESS - Complete the stack operation when resource configuration is applied, without waiting for resources to become ready to serve traffic. Resources continue becoming ready in the background.