interface FilterRuleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DataSync.CfnTask.FilterRuleProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnTask_FilterRuleProperty |
![]() | software.amazon.awscdk.services.datasync.CfnTask.FilterRuleProperty |
![]() | aws_cdk.aws_datasync.CfnTask.FilterRuleProperty |
![]() | aws-cdk-lib » aws_datasync » CfnTask » FilterRuleProperty |
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const filterRuleProperty: datasync.CfnTask.FilterRuleProperty = {
filterType: 'filterType',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
filter | string | The type of filter rule to apply. |
value? | string | A single filter string that consists of the patterns to include or exclude. |
filterType?
Type:
string
(optional)
The type of filter rule to apply.
AWS DataSync only supports the SIMPLE_PATTERN rule type.
value?
Type:
string
(optional)
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