class Aws::S3::Types::TopicConfiguration


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration AWS API Documentation
@return [Types::NotificationConfigurationFilter]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html<br><br><br><br>in the *Amazon Simple Storage Service Developer Guide*.
about key name filtering, see [Configuring Event Notifications][1]
A container for object key name filtering rules. For information
@!attribute [rw] filter
@return [Array<String>]
@!attribute [rw] events
@return [String]
specified type.
Amazon S3 will publish a message when it detects events of the
The Amazon Resource Name (ARN) of the Amazon SNS topic to which
@!attribute [rw] topic_arn
@return [String]
ID.
configuration. If you don’t provide one, Amazon S3 will assign an
An optional unique identifier for configurations in a notification
@!attribute [rw] id
}
},
},
],
},
value: “FilterRuleValue”,
name: “prefix”, # accepts prefix, suffix
{
filter_rules: [
key: {
filter: {
events: [“s3:ReducedRedundancyLostObject”], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:Post, s3:ObjectRestore:Completed
topic_arn: “TopicArn”, # required
id: “NotificationId”,
{
data as a hash:
@note When making an API call, you may pass TopicConfiguration
topic.when Amazon S3 detects specified events.
messages to an Amazon Simple Notification Service (Amazon SNS)
A container for specifying the configuration for publication of