/
CfnDetectorModel_EventProperty.go
164 lines (161 loc) · 5.97 KB
/
CfnDetectorModel_EventProperty.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
package awsiotevents
// Specifies the `actions` to be performed when the `condition` evaluates to TRUE.
//
// 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"
//
// eventProperty := &EventProperty{
// EventName: jsii.String("eventName"),
//
// // the properties below are optional
// Actions: []interface{}{
// &ActionProperty{
// ClearTimer: &ClearTimerProperty{
// TimerName: jsii.String("timerName"),
// },
// DynamoDb: &DynamoDBProperty{
// HashKeyField: jsii.String("hashKeyField"),
// HashKeyValue: jsii.String("hashKeyValue"),
// TableName: jsii.String("tableName"),
//
// // the properties below are optional
// HashKeyType: jsii.String("hashKeyType"),
// Operation: jsii.String("operation"),
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// PayloadField: jsii.String("payloadField"),
// RangeKeyField: jsii.String("rangeKeyField"),
// RangeKeyType: jsii.String("rangeKeyType"),
// RangeKeyValue: jsii.String("rangeKeyValue"),
// },
// DynamoDBv2: &DynamoDBv2Property{
// TableName: jsii.String("tableName"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// },
// Firehose: &FirehoseProperty{
// DeliveryStreamName: jsii.String("deliveryStreamName"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// Separator: jsii.String("separator"),
// },
// IotEvents: &IotEventsProperty{
// InputName: jsii.String("inputName"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// },
// IotSiteWise: &IotSiteWiseProperty{
// PropertyValue: &AssetPropertyValueProperty{
// Value: &AssetPropertyVariantProperty{
// BooleanValue: jsii.String("booleanValue"),
// DoubleValue: jsii.String("doubleValue"),
// IntegerValue: jsii.String("integerValue"),
// StringValue: jsii.String("stringValue"),
// },
//
// // the properties below are optional
// Quality: jsii.String("quality"),
// Timestamp: &AssetPropertyTimestampProperty{
// TimeInSeconds: jsii.String("timeInSeconds"),
//
// // the properties below are optional
// OffsetInNanos: jsii.String("offsetInNanos"),
// },
// },
//
// // the properties below are optional
// AssetId: jsii.String("assetId"),
// EntryId: jsii.String("entryId"),
// PropertyAlias: jsii.String("propertyAlias"),
// PropertyId: jsii.String("propertyId"),
// },
// IotTopicPublish: &IotTopicPublishProperty{
// MqttTopic: jsii.String("mqttTopic"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// },
// Lambda: &LambdaProperty{
// FunctionArn: jsii.String("functionArn"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// },
// ResetTimer: &ResetTimerProperty{
// TimerName: jsii.String("timerName"),
// },
// SetTimer: &SetTimerProperty{
// TimerName: jsii.String("timerName"),
//
// // the properties below are optional
// DurationExpression: jsii.String("durationExpression"),
// Seconds: jsii.Number(123),
// },
// SetVariable: &SetVariableProperty{
// Value: jsii.String("value"),
// VariableName: jsii.String("variableName"),
// },
// Sns: &SnsProperty{
// TargetArn: jsii.String("targetArn"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// },
// Sqs: &SqsProperty{
// QueueUrl: jsii.String("queueUrl"),
//
// // the properties below are optional
// Payload: &PayloadProperty{
// ContentExpression: jsii.String("contentExpression"),
// Type: jsii.String("type"),
// },
// UseBase64: jsii.Boolean(false),
// },
// },
// },
// Condition: jsii.String("condition"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html
//
type CfnDetectorModel_EventProperty struct {
// The name of the event.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-eventname
//
EventName *string `field:"required" json:"eventName" yaml:"eventName"`
// The actions to be performed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-actions
//
Actions interface{} `field:"optional" json:"actions" yaml:"actions"`
// Optional.
//
// The Boolean expression that, when TRUE, causes the `actions` to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-condition
//
Condition *string `field:"optional" json:"condition" yaml:"condition"`
}