Class CfnTask.FilterRuleProperty
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
Inheritance
System.Object
CfnTask.FilterRuleProperty
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FilterRuleProperty : Object, CfnTask.IFilterRuleProperty
Syntax (vb)
Public Class FilterRuleProperty
Inherits Object
Implements CfnTask.IFilterRuleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var filterRuleProperty = new FilterRuleProperty {
FilterType = "filterType",
Value = "value"
};
Synopsis
Constructors
FilterRuleProperty() |
Properties
FilterType | The type of filter rule to apply. |
Value | A single filter string that consists of the patterns to include or exclude. |
Constructors
FilterRuleProperty()
public FilterRuleProperty()
Properties
FilterType
The type of filter rule to apply.
public string FilterType { get; set; }
Property Value
System.String
Remarks
AWS DataSync only supports the SIMPLE_PATTERN rule type.
Value
A single filter string that consists of the patterns to include or exclude.
public string Value { get; set; }
Property Value
System.String
Remarks
The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2