Module Values_0.CloudwatchLogsActionSource

Describes an action that sends data to CloudWatch Logs.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t;
    (*

    The IAM role that allows access to the CloudWatch log.

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

    The CloudWatch log group to which the action sends data.

    *)
  3. batchMode : BatchMode.t option;
    (*

    Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true or false (default).

    *)
}
Sourceval context_ : string
Sourceval make : ?batchMode:??? -> roleArn:AwsArn.t -> logGroupName:LogGroupName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BatchMode.t | `String of AwsArn.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