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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Name
-
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
Value
-
The value that the filter searches for in object key names.
Required: Yes
Type: String
Update requires: No interruption