Fugue.AWS.S3.TargetConfiguration

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

Table of Contents

Module Members

new

(Function)

new S3 TargetConfiguration (Constructor)

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

Type Signature

 fun { target: NotificationTarget,
       events: List<Event>,
       filters: Optional<List<FilterRule>>,
       id: Optional<String> } -> TargetConfiguration
Argument: target

An S3.NotificationTarget value that defines the target topic, queue, or lambda function for notifications.

Type: NotificationTarget

Argument: events

A List of S3.Event values that defines the events for which notifications will be sent. At least one Event is needed.

Type: List<Event>

Argument: filters

An Optional of S3.FilterRule values that defines prefix or suffix filters for this notification configuration.

For example: [S3.PrefixRule(“pictures/”), S3.SuffixRule(”.jpg”)]

Type: Optional<List<FilterRule>>

Argument: id

An Optional that defines an id for this configuration.

Type: Optional<String>

Returns:

A Fugue.Core.AWS.S3.TargetConfiguration value.

Type: TargetConfiguration