Module Values.LogPublishingOptionsSource

Container for the values required to configure logging for the pipeline. If you don't specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.

Sourcetype nonrec t = {
  1. isLoggingEnabled : Boolean.t option;
    (*

    Whether logs should be published.

    *)
  2. cloudWatchLogDestination : CloudWatchLogDestination.t option;
    (*

    The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.

    *)
}
Sourceval make : ?isLoggingEnabled:??? -> ?cloudWatchLogDestination:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of LogGroup.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