-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTask_FilterRuleProperty.go
32 lines (29 loc) · 1.33 KB
/
CfnTask_FilterRuleProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package awsdatasync
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// filterRuleProperty := &FilterRuleProperty{
// FilterType: jsii.String("filterType"),
// Value: jsii.String("value"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html
//
type CfnTask_FilterRuleProperty struct {
// The type of filter rule to apply.
//
// AWS DataSync only supports the SIMPLE_PATTERN rule type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-filtertype
//
FilterType *string `field:"optional" json:"filterType" yaml:"filterType"`
// 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`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-value
//
Value *string `field:"optional" json:"value" yaml:"value"`
}