alarms

@JvmName(name = "srggdykjhtjrsodt")
suspend fun alarms(value: Output<DeploymentAlarmsArgs>)
@JvmName(name = "smrsuenaepqvfxbk")
suspend fun alarms(value: DeploymentAlarmsArgs?)

Parameters

value

Information about the CloudWatch alarms. One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. You can only use the `DeploymentAlarms` method to detect failures when the `DeploymentController` is set to `ECS` (rolling update). For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide.


@JvmName(name = "mpwulhjxvinfxyht")
suspend fun alarms(argument: suspend DeploymentAlarmsArgsBuilder.() -> Unit)

Parameters

argument

Information about the CloudWatch alarms. One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. You can only use the `DeploymentAlarms` method to detect failures when the `DeploymentController` is set to `ECS` (rolling update). For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide.