Module Values.DeploymentAlarmsSource

One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide .

Sourcetype nonrec t = {
  1. alarmNames : StringList.t;
    (*

    One or more CloudWatch alarm names. Use a "," to separate the alarms.

    *)
  2. rollback : Boolean.t;
    (*

    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.

    *)
  3. enable : Boolean.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : alarmNames:StringList.t -> rollback:Boolean.t -> enable:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t