BucketQueueConfigurationArgs

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

Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events.

Constructors

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

Properties

Link copied to clipboard
val event: Output<String>

The Amazon S3 bucket event about which you want to publish messages to Amazon SQS. For more information, see Supported Event Types in the Amazon S3 User Guide.

Link copied to clipboard

The filtering rules that determine which objects trigger 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. For more information, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide.

Link copied to clipboard
val queue: Output<String>

The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type. FIFO queues are not allowed when enabling an SQS queue as the event notification destination.

Functions

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