Class ServiceAlarms


  • public final class ServiceAlarms
    extends java.lang.Object
    • Method Detail

      • alarmNames

        public java.util.List<java.lang.String> alarmNames()
        Returns:
        One or more CloudWatch alarm names.
      • enable

        public java.lang.Boolean enable()
        Returns:
        Whether to use the CloudWatch alarm option in the service deployment process.
      • rollback

        public java.lang.Boolean rollback()
        Returns:
        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.