AWS CloudFormation
User Guide (Version )

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:

JSON

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

YAML

Name: String Value: String

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 Simple Storage Service Developer 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

On this page: