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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2899
2900
2901
2902
2903
2904
# File 'lib/aws-sdk-datasync/types.rb', line 2899

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)


2899
2900
2901
2902
2903
2904
# File 'lib/aws-sdk-datasync/types.rb', line 2899

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