BucketTopicConfigurationArgs

data class BucketTopicConfigurationArgs(val event: Output<String>, val filter: Output<BucketNotificationFilterArgs>? = null, val topic: Output<String>) : ConvertibleToJava<BucketTopicConfigurationArgs>

A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.

Constructors

Link copied to clipboard
constructor(event: Output<String>, filter: Output<BucketNotificationFilterArgs>? = null, topic: Output<String>)

Properties

Link copied to clipboard
val event: Output<String>

The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.

Link copied to clipboard

The filtering rules that determine for which objects to send notifications. For example, you can create a filter so that Amazon S3 sends notifications only when image files with a `.jpg` extension are added to the bucket.

Link copied to clipboard
val topic: Output<String>

The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.

Functions

Link copied to clipboard
open override fun toJava(): BucketTopicConfigurationArgs