You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DataSync::Types::FilterRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DataSync::Types::FilterRule
- Defined in:
- (unknown)
Overview
Note:
When passing FilterRule as input to an Aws::Client method, you can use a vanilla Hash:
{
filter_type: "SIMPLE_PATTERN", # accepts SIMPLE_PATTERN
value: "FilterValue",
}
Specifies which files, folders and objects to include or exclude when transferring files from source to destination.
Instance Attribute Summary collapse
-
#filter_type ⇒ String
The type of filter rule to apply.
-
#value ⇒ String
A single filter string that consists of the patterns to include or exclude.
Instance Attribute Details
#filter_type ⇒ String
The type of filter rule to apply. AWS DataSync only supports the SIMPLE_PATTERN rule type.
Possible values:
- SIMPLE_PATTERN
#value ⇒ String
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