Module Values.AwsCloudFrontDistributionLoggingSource

A complex type that controls whether access logs are written for the CloudFront distribution.

Sourcetype nonrec t = {
  1. bucket : NonEmptyString.t option;
    (*

    The S3 bucket to store the access logs in.

    *)
  2. enabled : Boolean.t option;
    (*

    With this field, you can enable or disable the selected distribution.

    *)
  3. includeCookies : Boolean.t option;
    (*

    Specifies whether you want CloudFront to include cookies in access logs.

    *)
  4. prefix : NonEmptyString.t option;
    (*

    An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.

    *)
}
Sourceval make : ?bucket:??? -> ?enabled:??? -> ?includeCookies:??? -> ?prefix:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.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