Fugue.AWS.S3.LoggingConfiguration

This is the preferred interface for making S3 LoggingConfigurations with Fugue. If you want to manage an S3 LoggingConfiguration with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new S3 LoggingConfiguration (Constructor)

Call this constructor to create a new Fugue.Core.AWS.S3.LoggingConfiguration value.

Type Signature

 fun { targetGrants: List<TargetGrant>,
       targetPrefix: String,
       targetBucket: Bucket} -> LoggingConfiguration
Argument: targetGrants

An Optional of S3.TargetGrant values that defines the permissions and grantee used by the logging configuration.

Type: List<TargetGrant>

Argument: targetPrefix

A String that defines the prefix used to store the logs in the target bucket.

Type: String

Argument: targetBucket

An S3.Bucket value that defines the target bucket to store logs in.

Type: Bucket

Returns:

a Fugue.Core.AWS.S3.LoggingConfiguration value.

Type: LoggingConfiguration