AWS::S3::Bucket FilterRule - AWS CloudFormation

AWS::S3::Bucket FilterRule

Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.


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


{ "Name" : String, "Value" : String }


Name: String Value: String



The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.

Required: Yes

Type: String

Allowed values: prefix | suffix

Update requires: No interruption


The value that the filter searches for in object key names.

Required: Yes

Type: String

Update requires: No interruption