Module Values.CreateDeploymentConfigInputSource

Represents the input of a CreateDeploymentConfig operation.

Sourcetype nonrec t = {
  1. deploymentConfigName : DeploymentConfigName.t;
    (*

    The name of the deployment configuration to create.

    *)
  2. minimumHealthyHosts : MinimumHealthyHosts.t option;
    (*

    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value. The type parameter takes either of the following values: HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value. FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances. The value parameter takes an integer. For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.

    *)
  3. trafficRoutingConfig : TrafficRoutingConfig.t option;
    (*

    The configuration that specifies how the deployment traffic is routed.

    *)
  4. computePlatform : ComputePlatform.t option;
    (*

    The destination platform type for the deployment (Lambda, Server, or ECS).

    *)
  5. zonalConfig : ZonalConfig.t option;
    (*

    Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?minimumHealthyHosts:??? -> ?trafficRoutingConfig:??? -> ?computePlatform:??? -> ?zonalConfig:??? -> deploymentConfigName:DeploymentConfigName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DeploymentConfigName.t | `Structure of (string * [> `Enum of string | `Integer of MinimumHealthyHostsValue.t | `Long of WaitTimeInSeconds.t | `Structure of (string * [> `Enum of string | `Integer of Percentage.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