Fugue.AWS.CloudFront.LoggingConfig

This is the preferred interface for making CloudFront LoggingConfigs with Fugue. If you want to manage a CloudFront LoggingConfig with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new CloudFront LoggingConfig (Constructor)

Call this constructor to create a new Fugue.Core.AWS.CloudFront.LoggingConfig value.

Type Signature

 fun { enabled: Bool,
       includeCookies: Bool,
       bucket: Bucket,
       prefix: String} -> LoggingConfig
Argument: enabled

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket.

Type: Bool

Argument: includeCookies

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies.

Type: Bool

Argument: bucket

A S3.Bucket in which to store the logs.

Type: Bucket

Argument: prefix

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, “myprefix/”.

Type: String

Returns:

A Fugue.Core.AWS.CloudFront.LoggingConfig value.

Type: LoggingConfig