Module Values.PutAutoTerminationPolicyInputSource

Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy. Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.

Sourcetype nonrec t = {
  1. clusterId : ClusterId.t;
    (*

    Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

    *)
  2. autoTerminationPolicy : AutoTerminationPolicy.t option;
    (*

    Specifies the auto-termination policy to attach to the cluster.

    *)
}
Sourceval context_ : string
Sourceval make : ?autoTerminationPolicy:??? -> clusterId:ClusterId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClusterId.t | `Structure of (string * [> `Long of Long.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