Class: Aws::DataSync::Types::FilterRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filter_typeString

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

Returns:

  • (String)


2162
2163
2164
2165
2166
2167
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2162

class FilterRule < Struct.new(
  :filter_type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

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

Returns:

  • (String)


2162
2163
2164
2165
2166
2167
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2162

class FilterRule < Struct.new(
  :filter_type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end