Show / Hide Table of Contents

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
CfnTask.IFilterRuleProperty
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.AWS.DataSync.dll
Syntax (csharp)
public class FilterRuleProperty : Object, CfnTask.IFilterRuleProperty
Syntax (vb)
Public Class FilterRuleProperty
    Inherits Object
    Implements CfnTask.IFilterRuleProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html

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;

FilterRuleProperty 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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-filtertype

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-value

Implements

CfnTask.IFilterRuleProperty
Back to top Generated by DocFX