ServiceAlarmsArgs

data class ServiceAlarmsArgs(val alarmNames: Output<List<String>>, val enable: Output<Boolean>, val rollback: Output<Boolean>) : ConvertibleToJava<ServiceAlarmsArgs>

Constructors

Link copied to clipboard
constructor(alarmNames: Output<List<String>>, enable: Output<Boolean>, rollback: Output<Boolean>)

Properties

Link copied to clipboard
val alarmNames: Output<List<String>>

One or more CloudWatch alarm names.

Link copied to clipboard
val enable: Output<Boolean>

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

Link copied to clipboard
val rollback: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): ServiceAlarmsArgs