-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiotanalytics_CfnPipelineProps.go
125 lines (122 loc) · 4.22 KB
/
awsiotanalytics_CfnPipelineProps.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
package awsiotanalytics
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnPipeline`.
//
// 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"
//
// cfnPipelineProps := &cfnPipelineProps{
// pipelineActivities: []interface{}{
// &activityProperty{
// addAttributes: &addAttributesProperty{
// attributes: map[string]*string{
// "attributesKey": jsii.String("attributes"),
// },
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// channel: &channelProperty{
// channelName: jsii.String("channelName"),
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// datastore: &datastoreProperty{
// datastoreName: jsii.String("datastoreName"),
// name: jsii.String("name"),
// },
// deviceRegistryEnrich: &deviceRegistryEnrichProperty{
// attribute: jsii.String("attribute"),
// name: jsii.String("name"),
// roleArn: jsii.String("roleArn"),
// thingName: jsii.String("thingName"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// deviceShadowEnrich: &deviceShadowEnrichProperty{
// attribute: jsii.String("attribute"),
// name: jsii.String("name"),
// roleArn: jsii.String("roleArn"),
// thingName: jsii.String("thingName"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// filter: &filterProperty{
// filter: jsii.String("filter"),
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// lambda: &lambdaProperty{
// batchSize: jsii.Number(123),
// lambdaName: jsii.String("lambdaName"),
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// math: &mathProperty{
// attribute: jsii.String("attribute"),
// math: jsii.String("math"),
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// removeAttributes: &removeAttributesProperty{
// attributes: []*string{
// jsii.String("attributes"),
// },
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// selectAttributes: &selectAttributesProperty{
// attributes: []*string{
// jsii.String("attributes"),
// },
// name: jsii.String("name"),
//
// // the properties below are optional
// next: jsii.String("next"),
// },
// },
// },
//
// // the properties below are optional
// pipelineName: jsii.String("pipelineName"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnPipelineProps struct {
// A list of "PipelineActivity" objects.
//
// Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
//
// The list can be 2-25 *PipelineActivity* objects and must contain both a `channel` and a `datastore` activity. Each entry in the list must contain only one activity, for example:
//
// `pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]`
PipelineActivities interface{} `field:"required" json:"pipelineActivities" yaml:"pipelineActivities"`
// The name of the pipeline.
PipelineName *string `field:"optional" json:"pipelineName" yaml:"pipelineName"`
// Metadata which can be used to manage the pipeline.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}