Skip to content

ECS  >  Dictionaries  >  DeploymentAlarmsDict

DeploymentAlarmsDict

Dictionary Type

DeploymentAlarmsDict

Bases: TypedDict

Dictionary form of DeploymentAlarms.

Attributes

alarm_names instance-attribute
alarm_names: Required[Sequence[str]]

One or more CloudWatch alarm names. Use a "," to separate the alarms.

enable instance-attribute
enable: bool | None

Determines whether to use the CloudWatch alarm option in the service deployment process.

rollback instance-attribute
rollback: bool | None

Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.