Interface CfnTask.IFilterRuleProperty
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTask.IFilterRuleProperty
Syntax (vb)
Public Interface 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
Properties
| FilterType | The type of filter rule to apply. |
| Value | A single filter string that consists of the patterns to include or exclude. |
Properties
FilterType
The type of filter rule to apply.
string? FilterType { get; }
Property Value
Remarks
AWS DataSync only supports the SIMPLE_PATTERN rule type.
Value
A single filter string that consists of the patterns to include or exclude.
string? Value { get; }
Property Value
Remarks
The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2