AWS::DataSync::Task FilterRule - AWS CloudFormation (original) (raw)

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

Syntax

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

JSON

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

YAML

  FilterType: String
  Value: String

Properties

FilterType

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

Required: No

Type: String

Allowed values: SIMPLE_PATTERN

Pattern: ^[A-Z0-9_]+$

Maximum: 128

Update requires: No interruption

Value

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

Pattern: ^[^\x00]+$

Maximum: 409600

Update requires: No interruption

Destination

ManifestConfig

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.