Module Values.CloudWatchLoggingConfigurationSource

The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.

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

    Enables CloudWatch logging.

    *)
  2. logGroupName : LogGroupName.t option;
    (*

    The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.

    *)
  3. logStreamNamePrefix : LogStreamNamePrefix.t option;
    (*

    Prefix for the CloudWatch log stream name.

    *)
  4. encryptionKeyArn : EncryptionKeyArn.t option;
    (*

    The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.

    *)
  5. logTypes : LogTypeMap.t option;
    (*

    The types of logs that you want to publish to CloudWatch. If you don't specify any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including the supported worker types for Hive and Spark, see Logging for EMR Serverless with CloudWatch. Key Valid Values: SPARK_DRIVER, SPARK_EXECUTOR, HIVE_DRIVER, TEZ_TASK Array Members Valid Values: STDOUT, STDERR, HIVE_LOG, TEZ_AM, SYSTEM_LOGS

    *)
}
Sourceval context_ : string
Sourceval make : ?logGroupName:??? -> ?logStreamNamePrefix:??? -> ?encryptionKeyArn:??? -> ?logTypes:??? -> enabled:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `String of WorkerTypeString.t ] * [> `List of [> `String of LogTypeString.t ] list ]) list | `String of LogGroupName.t ]) 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