ServiceAlarms class

Constructors

ServiceAlarms({required Input<List<String>> alarmNames, required Input<bool> enable, required Input<bool> rollback})
Creates a new ServiceAlarms. alarmNames One or more CloudWatch alarm names. enable Whether to use the CloudWatch alarm option in the service deployment process. rollback 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.
const
ServiceAlarms.fromMap(Map<String, dynamic> map)
factory

Properties

alarmNames → Input<List<String>>
One or more CloudWatch alarm names.
final
enable → Input<bool>
Whether to use the CloudWatch alarm option in the service deployment process.
final
hashCode → int
The hash code for this object.
no setterinherited
rollback → Input<bool>
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited