Skip to content

DeploymentAlarms

Source code in docs_src/capo_ecs/types/deployment_alarms.py
class DeploymentAlarms(TypedDict, closed=True):
    alarm_names: "capo_ecs.types.string_list.StringList"
    """<p>One or more CloudWatch alarm names. Use a "," to separate the alarms.</p>"""
    rollback: "capo_ecs.types.boolean.Boolean"
    """<p>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.</p>"""
    enable: "capo_ecs.types.boolean.Boolean"
    """<p>Determines whether to use the CloudWatch alarm option in the service deployment process.</p>"""

alarm_names instance-attribute

alarm_names: StringList

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

enable instance-attribute

enable: Boolean

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

rollback instance-attribute

rollback: Boolean

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.