Skip to content

S3  >  Dictionaries  >  FilterRuleDict

FilterRuleDict

Dictionary Type

FilterRuleDict

Bases: TypedDict

Dictionary form of FilterRule.

Attributes

name instance-attribute
name: str | None

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.

value instance-attribute
value: str | None

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