-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiotanalytics_CfnPipeline_ActivityProperty.go
115 lines (112 loc) · 4.15 KB
/
awsiotanalytics_CfnPipeline_ActivityProperty.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
package awsiotanalytics
// An activity that performs a transformation on a message.
//
// 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"
//
// activityProperty := &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"),
// },
// }
//
type CfnPipeline_ActivityProperty struct {
// Adds other attributes based on existing attributes in the message.
AddAttributes interface{} `field:"optional" json:"addAttributes" yaml:"addAttributes"`
// Determines the source of the messages to be processed.
Channel interface{} `field:"optional" json:"channel" yaml:"channel"`
// Specifies where to store the processed message data.
Datastore interface{} `field:"optional" json:"datastore" yaml:"datastore"`
// Adds data from the AWS IoT device registry to your message.
DeviceRegistryEnrich interface{} `field:"optional" json:"deviceRegistryEnrich" yaml:"deviceRegistryEnrich"`
// Adds information from the AWS IoT Device Shadows service to a message.
DeviceShadowEnrich interface{} `field:"optional" json:"deviceShadowEnrich" yaml:"deviceShadowEnrich"`
// Filters a message based on its attributes.
Filter interface{} `field:"optional" json:"filter" yaml:"filter"`
// Runs a Lambda function to modify the message.
Lambda interface{} `field:"optional" json:"lambda" yaml:"lambda"`
// Computes an arithmetic expression using the message's attributes and adds it to the message.
Math interface{} `field:"optional" json:"math" yaml:"math"`
// Removes attributes from a message.
RemoveAttributes interface{} `field:"optional" json:"removeAttributes" yaml:"removeAttributes"`
// Creates a new message using only the specified attributes from the original message.
SelectAttributes interface{} `field:"optional" json:"selectAttributes" yaml:"selectAttributes"`
}