AWS::S3::Bucket TopicConfiguration - AWS CloudFormation

AWS::S3::Bucket TopicConfiguration

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.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Event" : String, "Filter" : NotificationFilter, "Topic" : String }


Event: String Filter: NotificationFilter Topic: String



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

Required: Yes

Type: String

Update requires: No interruption


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.

Required: No

Type: NotificationFilter

Update requires: No interruption


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.

Required: Yes

Type: String

Update requires: No interruption

See also