@aws-cdk/aws-iotevents-alpha 2.22.0-alpha.0 → 2.24.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.22.0",
11
+ "aws-cdk-lib": "^2.24.1",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -1510,6 +1510,19 @@
1510
1510
  }
1511
1511
  }
1512
1512
  },
1513
+ "aws-cdk-lib.aws_iottwinmaker": {
1514
+ "targets": {
1515
+ "dotnet": {
1516
+ "namespace": "Amazon.CDK.AWS.IoTTwinMaker"
1517
+ },
1518
+ "java": {
1519
+ "package": "software.amazon.awscdk.services.iottwinmaker"
1520
+ },
1521
+ "python": {
1522
+ "module": "aws_cdk.aws_iottwinmaker"
1523
+ }
1524
+ }
1525
+ },
1513
1526
  "aws-cdk-lib.aws_iotwireless": {
1514
1527
  "targets": {
1515
1528
  "dotnet": {
@@ -2972,7 +2985,7 @@
2972
2985
  "stability": "experimental"
2973
2986
  },
2974
2987
  "homepage": "https://github.com/aws/aws-cdk",
2975
- "jsiiVersion": "1.57.0 (build f614666)",
2988
+ "jsiiVersion": "1.58.0 (build f8ba112)",
2976
2989
  "keywords": [
2977
2990
  "aws",
2978
2991
  "cdk",
@@ -4590,6 +4603,6 @@
4590
4603
  "symbolId": "lib/state:TransitionOptions"
4591
4604
  }
4592
4605
  },
4593
- "version": "2.22.0-alpha.0",
4606
+ "version": "2.24.1-alpha.0",
4594
4607
  "fingerprint": "**********"
4595
4608
  }
package/.jsii.tabl.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.57.0",
3
+ "toolVersion": "1.58.0",
4
4
  "snippets": {
5
5
  "ad9051cf8dce433b144a79c963be4edc0fffa865a24fece82d7287fc1050fc07": {
6
6
  "translations": {
@@ -63,7 +63,7 @@
63
63
  "version": "1"
64
64
  },
65
65
  "go": {
66
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
66
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
67
67
  "version": "1"
68
68
  },
69
69
  "$": {
@@ -143,7 +143,7 @@
143
143
  "version": "1"
144
144
  },
145
145
  "go": {
146
- "source": "import iam \"github.com/aws/aws-cdk-go/awscdk\"import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\n\nvar grantable iGrantable\ninput := iotevents.input.fromInputName(this, jsii.String(\"MyInput\"), jsii.String(\"my_input\"))\n\ninput.grantWrite(grantable)",
146
+ "source": "import iam \"github.com/aws/aws-cdk-go/awscdk\"\nimport iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\n\nvar grantable iGrantable\n\ninput := iotevents.input.fromInputName(this, jsii.String(\"MyInput\"), jsii.String(\"my_input\"))\n\ninput.grantWrite(grantable)",
147
147
  "version": "1"
148
148
  },
149
149
  "$": {
@@ -205,7 +205,7 @@
205
205
  "version": "1"
206
206
  },
207
207
  "go": {
208
- "source": "import iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import awscdk \"github.com/aws/aws-cdk-go/awscdk\"import iam \"github.com/aws/aws-cdk-go/awscdk/aws_iam\"\n\nvar role role\nactionBindOptions := &actionBindOptions{\n\trole: role,\n}",
208
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar role role\n\nactionBindOptions := &actionBindOptions{\n\trole: role,\n}",
209
209
  "version": "1"
210
210
  },
211
211
  "$": {
@@ -263,7 +263,7 @@
263
263
  "version": "1"
264
264
  },
265
265
  "go": {
266
- "source": "import iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nactionConfig := &actionConfig{\n\tconfiguration: &actionProperty{\n\t\tclearTimer: &clearTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\t\t},\n\t\tdynamoDb: &dynamoDBProperty{\n\t\t\thashKeyField: jsii.String(\"hashKeyField\"),\n\t\t\thashKeyValue: jsii.String(\"hashKeyValue\"),\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\thashKeyType: jsii.String(\"hashKeyType\"),\n\t\t\toperation: jsii.String(\"operation\"),\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tpayloadField: jsii.String(\"payloadField\"),\n\t\t\trangeKeyField: jsii.String(\"rangeKeyField\"),\n\t\t\trangeKeyType: jsii.String(\"rangeKeyType\"),\n\t\t\trangeKeyValue: jsii.String(\"rangeKeyValue\"),\n\t\t},\n\t\tdynamoDBv2: &dynamoDBv2Property{\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tfirehose: &firehoseProperty{\n\t\t\tdeliveryStreamName: jsii.String(\"deliveryStreamName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tseparator: jsii.String(\"separator\"),\n\t\t},\n\t\tiotEvents: &iotEventsProperty{\n\t\t\tinputName: jsii.String(\"inputName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tiotSiteWise: &iotSiteWiseProperty{\n\t\t\tpropertyValue: &assetPropertyValueProperty{\n\t\t\t\tvalue: &assetPropertyVariantProperty{\n\t\t\t\t\tbooleanValue: jsii.String(\"booleanValue\"),\n\t\t\t\t\tdoubleValue: jsii.String(\"doubleValue\"),\n\t\t\t\t\tintegerValue: jsii.String(\"integerValue\"),\n\t\t\t\t\tstringValue: jsii.String(\"stringValue\"),\n\t\t\t\t},\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tquality: jsii.String(\"quality\"),\n\t\t\t\ttimestamp: &assetPropertyTimestampProperty{\n\t\t\t\t\ttimeInSeconds: jsii.String(\"timeInSeconds\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\toffsetInNanos: jsii.String(\"offsetInNanos\"),\n\t\t\t\t},\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tassetId: jsii.String(\"assetId\"),\n\t\t\tentryId: jsii.String(\"entryId\"),\n\t\t\tpropertyAlias: jsii.String(\"propertyAlias\"),\n\t\t\tpropertyId: jsii.String(\"propertyId\"),\n\t\t},\n\t\tiotTopicPublish: &iotTopicPublishProperty{\n\t\t\tmqttTopic: jsii.String(\"mqttTopic\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tlambda: &lambdaProperty{\n\t\t\tfunctionArn: jsii.String(\"functionArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tresetTimer: &resetTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\t\t},\n\t\tsetTimer: &setTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tdurationExpression: jsii.String(\"durationExpression\"),\n\t\t\tseconds: jsii.Number(123),\n\t\t},\n\t\tsetVariable: &setVariableProperty{\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t\tvariableName: jsii.String(\"variableName\"),\n\t\t},\n\t\tsns: &snsProperty{\n\t\t\ttargetArn: jsii.String(\"targetArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tsqs: &sqsProperty{\n\t\t\tqueueUrl: jsii.String(\"queueUrl\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tuseBase64: jsii.Boolean(false),\n\t\t},\n\t},\n}",
266
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\n\nactionConfig := &actionConfig{\n\tconfiguration: &actionProperty{\n\t\tclearTimer: &clearTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\t\t},\n\t\tdynamoDb: &dynamoDBProperty{\n\t\t\thashKeyField: jsii.String(\"hashKeyField\"),\n\t\t\thashKeyValue: jsii.String(\"hashKeyValue\"),\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\thashKeyType: jsii.String(\"hashKeyType\"),\n\t\t\toperation: jsii.String(\"operation\"),\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tpayloadField: jsii.String(\"payloadField\"),\n\t\t\trangeKeyField: jsii.String(\"rangeKeyField\"),\n\t\t\trangeKeyType: jsii.String(\"rangeKeyType\"),\n\t\t\trangeKeyValue: jsii.String(\"rangeKeyValue\"),\n\t\t},\n\t\tdynamoDBv2: &dynamoDBv2Property{\n\t\t\ttableName: jsii.String(\"tableName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tfirehose: &firehoseProperty{\n\t\t\tdeliveryStreamName: jsii.String(\"deliveryStreamName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tseparator: jsii.String(\"separator\"),\n\t\t},\n\t\tiotEvents: &iotEventsProperty{\n\t\t\tinputName: jsii.String(\"inputName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tiotSiteWise: &iotSiteWiseProperty{\n\t\t\tpropertyValue: &assetPropertyValueProperty{\n\t\t\t\tvalue: &assetPropertyVariantProperty{\n\t\t\t\t\tbooleanValue: jsii.String(\"booleanValue\"),\n\t\t\t\t\tdoubleValue: jsii.String(\"doubleValue\"),\n\t\t\t\t\tintegerValue: jsii.String(\"integerValue\"),\n\t\t\t\t\tstringValue: jsii.String(\"stringValue\"),\n\t\t\t\t},\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tquality: jsii.String(\"quality\"),\n\t\t\t\ttimestamp: &assetPropertyTimestampProperty{\n\t\t\t\t\ttimeInSeconds: jsii.String(\"timeInSeconds\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\toffsetInNanos: jsii.String(\"offsetInNanos\"),\n\t\t\t\t},\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tassetId: jsii.String(\"assetId\"),\n\t\t\tentryId: jsii.String(\"entryId\"),\n\t\t\tpropertyAlias: jsii.String(\"propertyAlias\"),\n\t\t\tpropertyId: jsii.String(\"propertyId\"),\n\t\t},\n\t\tiotTopicPublish: &iotTopicPublishProperty{\n\t\t\tmqttTopic: jsii.String(\"mqttTopic\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tlambda: &lambdaProperty{\n\t\t\tfunctionArn: jsii.String(\"functionArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tresetTimer: &resetTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\t\t},\n\t\tsetTimer: &setTimerProperty{\n\t\t\ttimerName: jsii.String(\"timerName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tdurationExpression: jsii.String(\"durationExpression\"),\n\t\t\tseconds: jsii.Number(123),\n\t\t},\n\t\tsetVariable: &setVariableProperty{\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t\tvariableName: jsii.String(\"variableName\"),\n\t\t},\n\t\tsns: &snsProperty{\n\t\t\ttargetArn: jsii.String(\"targetArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t},\n\t\tsqs: &sqsProperty{\n\t\t\tqueueUrl: jsii.String(\"queueUrl\"),\n\n\t\t\t// the properties below are optional\n\t\t\tpayload: &payloadProperty{\n\t\t\t\tcontentExpression: jsii.String(\"contentExpression\"),\n\t\t\t\ttype: jsii.String(\"type\"),\n\t\t\t},\n\t\t\tuseBase64: jsii.Boolean(false),\n\t\t},\n\t},\n}",
267
267
  "version": "1"
268
268
  },
269
269
  "$": {
@@ -320,7 +320,7 @@
320
320
  "version": "1"
321
321
  },
322
322
  "go": {
323
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
323
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
324
324
  "version": "1"
325
325
  },
326
326
  "$": {
@@ -399,7 +399,7 @@
399
399
  "version": "1"
400
400
  },
401
401
  "go": {
402
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
402
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
403
403
  "version": "1"
404
404
  },
405
405
  "$": {
@@ -478,7 +478,7 @@
478
478
  "version": "1"
479
479
  },
480
480
  "go": {
481
- "source": "import iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\n\nvar action iAction\nvar expression expression\nevent := &event{\n\teventName: jsii.String(\"eventName\"),\n\n\t// the properties below are optional\n\tactions: []*iAction{\n\t\taction,\n\t},\n\tcondition: expression,\n}",
481
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport iotevents_alpha \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\n\nvar action iAction\nvar expression expression\n\nevent := &event{\n\teventName: jsii.String(\"eventName\"),\n\n\t// the properties below are optional\n\tactions: []*iAction{\n\t\taction,\n\t},\n\tcondition: expression,\n}",
482
482
  "version": "1"
483
483
  },
484
484
  "$": {
@@ -535,7 +535,7 @@
535
535
  "version": "1"
536
536
  },
537
537
  "go": {
538
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
538
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
539
539
  "version": "1"
540
540
  },
541
541
  "$": {
@@ -614,7 +614,7 @@
614
614
  "version": "1"
615
615
  },
616
616
  "go": {
617
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
617
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
618
618
  "version": "1"
619
619
  },
620
620
  "$": {
@@ -679,7 +679,7 @@
679
679
  "version": "1"
680
680
  },
681
681
  "go": {
682
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
682
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
683
683
  "version": "1"
684
684
  },
685
685
  "$": {
@@ -758,7 +758,7 @@
758
758
  "version": "1"
759
759
  },
760
760
  "go": {
761
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
761
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
762
762
  "version": "1"
763
763
  },
764
764
  "$": {
@@ -837,7 +837,7 @@
837
837
  "version": "1"
838
838
  },
839
839
  "go": {
840
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
840
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
841
841
  "version": "1"
842
842
  },
843
843
  "$": {
@@ -902,7 +902,7 @@
902
902
  "version": "1"
903
903
  },
904
904
  "go": {
905
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
905
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\n\nvar input iInput\n\nstate := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"MyState\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions,\n\t\t\t\t[]interface{}{\n\t\t\t\t\tactions.NewSetVariableAction(jsii.String(\"MyVariable\"), iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\"))),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
906
906
  "version": "1"
907
907
  },
908
908
  "$": {
@@ -967,7 +967,7 @@
967
967
  "version": "1"
968
968
  },
969
969
  "go": {
970
- "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"import actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"import lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
970
+ "source": "import iotevents \"github.com/aws/aws-cdk-go/awscdkioteventsalpha\"\nimport actions \"github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha\"\nimport lambda \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar func iFunction\n\n\ninput := iotevents.NewInput(this, jsii.String(\"MyInput\"), &inputProps{\n\tinputName: jsii.String(\"my_input\"),\n\t // optional\n\tattributeJsonPaths: []*string{\n\t\tjsii.String(\"payload.deviceId\"),\n\t\tjsii.String(\"payload.temperature\"),\n\t},\n})\n\nwarmState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"warm\"),\n\tonEnter: []event{\n\t\t&event{\n\t\t\teventName: jsii.String(\"test-enter-event\"),\n\t\t\tcondition: iotevents.expression.currentInput(input),\n\t\t\tactions: []iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonInput: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-input-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n\tonExit: []*event{\n\t\t&event{\n\t\t\t // optional\n\t\t\teventName: jsii.String(\"test-exit-event\"),\n\t\t\tactions: []*iAction{\n\t\t\t\tactions.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})\ncoldState := iotevents.NewState(&stateProps{\n\tstateName: jsii.String(\"cold\"),\n})\n\n// transit to coldState when temperature is less than 15\nwarmState.transitionTo(coldState, &transitionOptions{\n\teventName: jsii.String(\"to_coldState\"),\n\t // optional property, default by combining the names of the States\n\twhen: iotevents.*expression.lt(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is greater than or equal to 15\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.gte(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"15\"))),\n})\n\niotevents.NewDetectorModel(this, jsii.String(\"MyDetectorModel\"), &detectorModelProps{\n\tdetectorModelName: jsii.String(\"test-detector-model\"),\n\t // optional\n\tdescription: jsii.String(\"test-detector-model-description\"),\n\t // optional property, default is none\n\tevaluationMethod: iotevents.eventEvaluation_SERIAL,\n\t // optional property, default is iotevents.EventEvaluation.BATCH\n\tdetectorKey: jsii.String(\"payload.deviceId\"),\n\t // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n\tinitialState: warmState,\n})",
971
971
  "version": "1"
972
972
  },
973
973
  "$": {
@@ -74,5 +74,5 @@ class DetectorModel extends aws_cdk_lib_1.Resource {
74
74
  }
75
75
  exports.DetectorModel = DetectorModel;
76
76
  _a = JSII_RTTI_SYMBOL_1;
77
- DetectorModel[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.DetectorModel", version: "2.22.0-alpha.0" };
77
+ DetectorModel[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.DetectorModel", version: "2.24.1-alpha.0" };
78
78
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0ZWN0b3ItbW9k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246IHtcbiAgICAgICAgaW5pdGlhbFN0YXRlTmFtZTogcHJvcHMuaW5pdGlhbFN0YXRlLnN0YXRlTmFtZSxcbiAgICAgICAgc3RhdGVzOiBwcm9wcy5pbml0aWFsU3RhdGUuX2NvbGxlY3RTdGF0ZUpzb25zKHRoaXMsIHsgcm9sZSB9LCBuZXcgU2V0PFN0YXRlPigpKSxcbiAgICAgIH0sXG4gICAgICByb2xlQXJuOiByb2xlLnJvbGVBcm4sXG4gICAgfSk7XG5cbiAgICB0aGlzLmRldGVjdG9yTW9kZWxOYW1lID0gdGhpcy5nZXRSZXNvdXJjZU5hbWVBdHRyaWJ1dGUocmVzb3VyY2UucmVmKTtcbiAgfVxufVxuIl19
package/lib/expression.js CHANGED
@@ -179,7 +179,7 @@ class Expression {
179
179
  }
180
180
  exports.Expression = Expression;
181
181
  _a = JSII_RTTI_SYMBOL_1;
182
- Expression[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.Expression", version: "2.22.0-alpha.0" };
182
+ Expression[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.Expression", version: "2.24.1-alpha.0" };
183
183
  class StringExpression extends Expression {
184
184
  constructor(value) {
185
185
  super();
package/lib/input.js CHANGED
@@ -71,7 +71,7 @@ class Input extends InputBase {
71
71
  }
72
72
  exports.Input = Input;
73
73
  _a = JSII_RTTI_SYMBOL_1;
74
- Input[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.Input", version: "2.22.0-alpha.0" };
74
+ Input[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.Input", version: "2.24.1-alpha.0" };
75
75
  function arnForInput(inputName) {
76
76
  return `arn:${aws_cdk_lib_1.Aws.PARTITION}:iotevents:${aws_cdk_lib_1.Aws.REGION}:${aws_cdk_lib_1.Aws.ACCOUNT_ID}:input/${inputName}`;
77
77
  }
package/lib/state.js CHANGED
@@ -99,7 +99,7 @@ class State {
99
99
  }
100
100
  exports.State = State;
101
101
  _a = JSII_RTTI_SYMBOL_1;
102
- State[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.State", version: "2.22.0-alpha.0" };
102
+ State[_a] = { fqn: "@aws-cdk/aws-iotevents-alpha.State", version: "2.24.1-alpha.0" };
103
103
  function toEventsJson(scope, actionBindOptions, events) {
104
104
  return events === null || events === void 0 ? void 0 : events.map(event => {
105
105
  var _b, _c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-iotevents-alpha",
3
- "version": "2.22.0-alpha.0",
3
+ "version": "2.24.1-alpha.0",
4
4
  "private": false,
5
5
  "description": "The CDK Construct Library for AWS::IoTEvents",
6
6
  "main": "lib/index.js",
@@ -83,18 +83,18 @@
83
83
  },
84
84
  "license": "Apache-2.0",
85
85
  "devDependencies": {
86
- "@aws-cdk/cdk-build-tools": "2.22.0",
87
- "@aws-cdk/integ-runner": "2.22.0",
88
- "@aws-cdk/cfn2ts": "2.22.0",
89
- "@aws-cdk/pkglint": "2.22.0",
90
- "@types/jest": "^27.4.1",
86
+ "@aws-cdk/cdk-build-tools": "2.24.1",
87
+ "@aws-cdk/integ-runner": "2.24.1",
88
+ "@aws-cdk/cfn2ts": "2.24.1",
89
+ "@aws-cdk/pkglint": "2.24.1",
90
+ "@types/jest": "^27.5.0",
91
91
  "jest": "^27.5.1",
92
- "aws-cdk-lib": "2.22.0",
92
+ "aws-cdk-lib": "2.24.1",
93
93
  "constructs": "^10.0.0"
94
94
  },
95
95
  "dependencies": {},
96
96
  "peerDependencies": {
97
- "aws-cdk-lib": "^2.22.0",
97
+ "aws-cdk-lib": "^2.24.1",
98
98
  "constructs": "^10.0.0"
99
99
  },
100
100
  "engines": {