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)


3028
3029
3030
3031
3032
3033
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3028

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)


3028
3029
3030
3031
3032
3033
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3028

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