Module Values.ServiceDeploymentSource

Information about the service deployment. Service deployments provide a comprehensive view of your deployments. For information about service deployments, see View service history using Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide .

Sourcetype nonrec t = {
  1. serviceDeploymentArn : String_.t option;
    (*

    The ARN of the service deployment.

    *)
  2. serviceArn : String_.t option;
    (*

    The ARN of the service for this service deployment.

    *)
  3. clusterArn : String_.t option;
    (*

    The ARN of the cluster that hosts the service.

    *)
  4. createdAt : Timestamp.t option;
    (*

    The time the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

    *)
  5. startedAt : Timestamp.t option;
    (*

    The time the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

    *)
  6. finishedAt : Timestamp.t option;
    (*

    The time the service deployment finished. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

    *)
  7. stoppedAt : Timestamp.t option;
    (*

    The time the service deployment stopped. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. The service deployment stops when any of the following actions happen: A user manually stops the deployment The rollback option is not in use for the failure detection mechanism (the circuit breaker or alarm-based) and the service fails.

    *)
  8. updatedAt : Timestamp.t option;
    (*

    The time that the service deployment was last updated. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

    *)
  9. sourceServiceRevisions : ServiceRevisionsSummaryList.t option;
    (*

    The currently deployed workload configuration.

    *)
  10. targetServiceRevision : ServiceRevisionSummary.t option;
    (*

    The workload configuration being deployed.

    *)
  11. status : ServiceDeploymentStatus.t option;
    (*

    The service deployment state.

    *)
  12. statusReason : String_.t option;
    (*

    Information about why the service deployment is in the current status. For example, the circuit breaker detected a failure.

    *)
  13. lifecycleStage : ServiceDeploymentLifecycleStage.t option;
    (*

    The current lifecycle stage of the deployment. Possible values include: RECONCILE_SERVICE The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state. PRE_SCALE_UP The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic. SCALE_UP The stage when the green service revision scales up to 100% and launches new tasks. The green service revision is not serving any traffic at this point. POST_SCALE_UP The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic. TEST_TRAFFIC_SHIFT The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic. POST_TEST_TRAFFIC_SHIFT The test traffic shift is complete. The green service revision handles 100% of the test traffic. PRODUCTION_TRAFFIC_SHIFT Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. POST_PRODUCTION_TRAFFIC_SHIFT The production traffic shift is complete. BAKE_TIME The stage when both blue and green service revisions are running simultaneously after the production traffic has shifted. CLEAN_UP The stage when the blue service revision has completely scaled down to 0 running tasks. The green service revision is now the production service revision after this stage.

    *)
  14. deploymentConfiguration : DeploymentConfiguration.t option;
  15. rollback : Rollback.t option;
    (*

    The rollback options the service deployment uses when the deployment fails.

    *)
  16. deploymentCircuitBreaker : ServiceDeploymentCircuitBreaker.t option;
    (*

    The circuit breaker configuration that determines a service deployment failed.

    *)
  17. alarms : ServiceDeploymentAlarms.t option;
    (*

    The CloudWatch alarms that determine when a service deployment fails.

    *)
}
Sourceval make : ?serviceDeploymentArn:??? -> ?serviceArn:??? -> ?clusterArn:??? -> ?createdAt:??? -> ?startedAt:??? -> ?finishedAt:??? -> ?stoppedAt:??? -> ?updatedAt:??? -> ?sourceServiceRevisions:??? -> ?targetServiceRevision:??? -> ?status:??? -> ?statusReason:??? -> ?lifecycleStage:??? -> ?deploymentConfiguration:??? -> ?rollback:??? -> ?deploymentCircuitBreaker:??? -> ?alarms:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Double of Double.t | `Integer of Integer.t | `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `List of [> `Enum of string ] list | `String of String_.t | `Structure of 'a list ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Integer of Integer.t | `List of [> `String of String_.t ] list ]) list | `Timestamp of Timestamp.t ]) list | `Timestamp of Timestamp.t ]) 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