This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::S3::Bucket ReplicationRuleAndOperator
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
-
If you specify both a
Prefixand aTagFilter, wrap these filters in anAndtag. -
If you specify a filter based on multiple tags, wrap the
TagFilterelements in anAndtag
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Prefix" :String, "TagFilters" :[ TagFilter, ... ]}
YAML
Prefix:StringTagFilters:- TagFilter
Properties
Prefix-
An object key name prefix that identifies the subset of objects to which the rule applies.
Required: No
Type: String
Update requires: No interruption
TagFilters-
An array of tags containing key and value pairs.
Required: No
Type: Array of TagFilter
Update requires: No interruption