interface FilterRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DataSync.Mixins.CfnTaskPropsMixin.FilterRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdatasync/mixins#CfnTaskPropsMixin_FilterRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnTaskPropsMixin.FilterRuleProperty |
Python | aws_cdk.mixins_preview.aws_datasync.mixins.CfnTaskPropsMixin.FilterRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_datasync » mixins » CfnTaskPropsMixin » 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 { mixins as datasync_mixins } from '@aws-cdk/mixins-preview/aws-datasync';
const filterRuleProperty: datasync_mixins.CfnTaskPropsMixin.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

.NET
Go
Java
Python
TypeScript