ServiceAlarms constructor

const ServiceAlarms({
  1. required Input<List<String>> alarmNames,
  2. required Input<bool> enable,
  3. 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.

Implementation

const ServiceAlarms({
  required this.alarmNames,
  required this.enable,
  required this.rollback,
});