Module Batch.SchedulingPolicy

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html

type share_attributes = {
  1. weight_factor : float option;
  2. share_identifier : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html

and fairshare_policy = {
  1. share_distribution : share_attributes list option;
  2. share_decay_seconds : float option;
  3. compute_reservation : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html

type properties = {
  1. fairshare_policy : fairshare_policy option;
  2. tags : string Stdlib__Map.Make(Stdlib.String).t option;
  3. name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html;

val make_properties : ?fairshare_policy:fairshare_policy -> ?tags:string Stdlib__Map.Make(Stdlib.String).t -> ?name:string -> unit -> properties
val make_share_attributes : ?weight_factor:float -> ?share_identifier:string -> unit -> share_attributes
val make_fairshare_policy : ?share_distribution:share_attributes list -> ?share_decay_seconds:float -> ?compute_reservation:float -> unit -> fairshare_policy
val yojson_of_share_attributes : share_attributes -> Yojson.Safe.t
val yojson_of_fairshare_policy : fairshare_policy -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string