ServiceAlarms constructor
const
ServiceAlarms({})
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,
});