Skip to content

ECS  >  Structures  >  ServiceDeploymentAlarms

ServiceDeploymentAlarms

Structure Class

ServiceDeploymentAlarms dataclass

Bases: _SerdeShape

The CloudWatch alarms used to determine a service deployment failed.

Amazon ECS considers the service deployment as failed when any of the alarms move to the ALARM state. For more information, see How CloudWatch alarms detect Amazon ECS deployment failures in the Amazon ECS Developer Guide.

Attributes

alarm_names class-attribute instance-attribute
alarm_names: list[str] | None = ...

The name of the CloudWatch alarms that determine when a service deployment failed. A "," separates the alarms.

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

The status of the alarms check. Amazon ECS is not using alarms for service deployment failures when the status is DISABLED.

triggered_alarm_names class-attribute instance-attribute
triggered_alarm_names: list[str] | None = ...

One or more CloudWatch alarm names that have been triggered during the service deployment. A "," separates the alarm names.