Module Values.TrafficConfigSource

The traffic configuration of your continuous deployment.

Sourcetype nonrec t = {
  1. singleWeightConfig : ContinuousDeploymentSingleWeightConfig.t option;
    (*

    Contains the percentage of traffic to send to the staging distribution.

    *)
  2. singleHeaderConfig : ContinuousDeploymentSingleHeaderConfig.t option;
    (*

    Determines which HTTP requests are sent to the staging distribution.

    *)
  3. type_ : ContinuousDeploymentPolicyType.t;
    (*

    The type of traffic configuration.

    *)
}
Sourceval context_ : string
Sourceval make : ?singleWeightConfig:??? -> ?singleHeaderConfig:??? -> type_:ContinuousDeploymentPolicyType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Float of Float_.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) list ]) 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