AWS::DataSync::Task FilterRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DataSync::Task FilterRule

Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.


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


{ "FilterType" : String, "Value" : String }


FilterType: String Value: String



The type of filter rule to apply. Amazon DataSync only supports the SIMPLE_PATTERN rule type.

Required: No

Type: String

Allowed values: SIMPLE_PATTERN

Update requires: No interruption


A single filter string that consists of the patterns to include or exclude. The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2

Required: No

Type: String

Maximum: 102400

Pattern: ^[^\x00]+$

Update requires: No interruption