@aws-cdk/aws-iotevents-actions-alpha 2.16.0-alpha.0 → 2.19.0-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,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-cdk/aws-iotevents-alpha": "2.16.0-alpha.0",
12
- "aws-cdk-lib": "^2.16.0",
11
+ "@aws-cdk/aws-iotevents-alpha": "2.19.0-alpha.0",
12
+ "aws-cdk-lib": "^2.19.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -37,7 +37,7 @@
37
37
  "python": {
38
38
  "classifiers": [
39
39
  "Framework :: AWS CDK",
40
- "Framework :: AWS CDK :: 1"
40
+ "Framework :: AWS CDK :: 2"
41
41
  ],
42
42
  "distName": "aws-cdk.aws-iotevents-alpha",
43
43
  "module": "aws_cdk.aws_iotevents_alpha"
@@ -410,6 +410,19 @@
410
410
  }
411
411
  }
412
412
  },
413
+ "aws-cdk-lib.aws_billingconductor": {
414
+ "targets": {
415
+ "dotnet": {
416
+ "namespace": "Amazon.CDK.AWS.BillingConductor"
417
+ },
418
+ "java": {
419
+ "package": "software.amazon.awscdk.services.billingconductor"
420
+ },
421
+ "python": {
422
+ "module": "aws_cdk.aws_billingconductor"
423
+ }
424
+ }
425
+ },
413
426
  "aws-cdk-lib.aws_budgets": {
414
427
  "targets": {
415
428
  "dotnet": {
@@ -2075,6 +2088,19 @@
2075
2088
  }
2076
2089
  }
2077
2090
  },
2091
+ "aws-cdk-lib.aws_personalize": {
2092
+ "targets": {
2093
+ "dotnet": {
2094
+ "namespace": "Amazon.CDK.AWS.Personalize"
2095
+ },
2096
+ "java": {
2097
+ "package": "software.amazon.awscdk.services.personalize"
2098
+ },
2099
+ "python": {
2100
+ "module": "aws_cdk.aws_personalize"
2101
+ }
2102
+ }
2103
+ },
2078
2104
  "aws-cdk-lib.aws_pinpoint": {
2079
2105
  "targets": {
2080
2106
  "dotnet": {
@@ -2965,7 +2991,7 @@
2965
2991
  "stability": "experimental"
2966
2992
  },
2967
2993
  "homepage": "https://github.com/aws/aws-cdk",
2968
- "jsiiVersion": "1.54.0 (build b1b977a)",
2994
+ "jsiiVersion": "1.55.1 (build 07d2d90)",
2969
2995
  "keywords": [
2970
2996
  "aws",
2971
2997
  "cdk",
@@ -2984,7 +3010,7 @@
2984
3010
  },
2985
3011
  "name": "@aws-cdk/aws-iotevents-actions-alpha",
2986
3012
  "readme": {
2987
- "markdown": "# Actions for AWS::IoTEvents Detector Model\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis library contains integration classes to specify actions of state events of Detector Model in `@aws-cdk/aws-iotevents`.\nInstances of these classes should be passed to `State` defined in `@aws-cdk/aws-iotevents`\nYou can define built-in actions to use a timer or set a variable, or send data to other AWS resources.\n\nThis library contains integration classes to use a timer or set a variable, or send data to other AWS resources.\nAWS IoT Events can trigger actions when it detects a specified event or transition event.\n\nCurrently supported are:\n\n- Invoke a Lambda function\n\n## Invoke a Lambda function\n\nThe code snippet below creates an Action that invoke a Lambda function\nwhen it is triggered.\n\n```ts\nimport * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\ndeclare const input: iotevents.IInput;\ndeclare const func: lambda.IFunction;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [new actions.LambdaInvokeAction(func)],\n }],\n});\n```\n"
3013
+ "markdown": "# Actions for AWS::IoTEvents Detector Model\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis library contains integration classes to specify actions of state events of Detector Model in `@aws-cdk/aws-iotevents`.\nInstances of these classes should be passed to `State` defined in `@aws-cdk/aws-iotevents`\nYou can define built-in actions to use a timer or set a variable, or send data to other AWS resources.\n\nThis library contains integration classes to use a timer or set a variable, or send data to other AWS resources.\nAWS IoT Events can trigger actions when it detects a specified event or transition event.\n\nCurrently supported are:\n\n- Set variable to detector instanse\n- Invoke a Lambda function\n\n## Set variable to detector instanse\n\nThe code snippet below creates an Action that set variable to detector instanse\nwhen it is triggered.\n\n```ts\nimport * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});\n```\n\n## Invoke a Lambda function\n\nThe code snippet below creates an Action that invoke a Lambda function\nwhen it is triggered.\n\n```ts\nimport * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\ndeclare const input: iotevents.IInput;\ndeclare const func: lambda.IFunction;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [new actions.LambdaInvokeAction(func)],\n }],\n});\n```\n"
2988
3014
  },
2989
3015
  "repository": {
2990
3016
  "directory": "packages/individual-packages/aws-iotevents-actions",
@@ -3015,7 +3041,7 @@
3015
3041
  "python": {
3016
3042
  "classifiers": [
3017
3043
  "Framework :: AWS CDK",
3018
- "Framework :: AWS CDK :: 1"
3044
+ "Framework :: AWS CDK :: 2"
3019
3045
  ],
3020
3046
  "distName": "aws-cdk.aws-iotevents-actions-alpha",
3021
3047
  "module": "aws_cdk.aws_iotevents_actions_alpha"
@@ -3096,8 +3122,92 @@
3096
3122
  ],
3097
3123
  "name": "LambdaInvokeAction",
3098
3124
  "symbolId": "lib/lambda-invoke-action:LambdaInvokeAction"
3125
+ },
3126
+ "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction": {
3127
+ "assembly": "@aws-cdk/aws-iotevents-actions-alpha",
3128
+ "docs": {
3129
+ "custom": {
3130
+ "exampleMetadata": "infused"
3131
+ },
3132
+ "example": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});",
3133
+ "stability": "experimental",
3134
+ "summary": "The action to create a variable with a specified value."
3135
+ },
3136
+ "fqn": "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction",
3137
+ "initializer": {
3138
+ "docs": {
3139
+ "stability": "experimental"
3140
+ },
3141
+ "locationInModule": {
3142
+ "filename": "lib/set-variable-action.ts",
3143
+ "line": 12
3144
+ },
3145
+ "parameters": [
3146
+ {
3147
+ "docs": {
3148
+ "summary": "the name of the variable."
3149
+ },
3150
+ "name": "variableName",
3151
+ "type": {
3152
+ "primitive": "string"
3153
+ }
3154
+ },
3155
+ {
3156
+ "docs": {
3157
+ "summary": "the new value of the variable."
3158
+ },
3159
+ "name": "value",
3160
+ "type": {
3161
+ "fqn": "@aws-cdk/aws-iotevents-alpha.Expression"
3162
+ }
3163
+ }
3164
+ ]
3165
+ },
3166
+ "interfaces": [
3167
+ "@aws-cdk/aws-iotevents-alpha.IAction"
3168
+ ],
3169
+ "kind": "class",
3170
+ "locationInModule": {
3171
+ "filename": "lib/set-variable-action.ts",
3172
+ "line": 7
3173
+ },
3174
+ "methods": [
3175
+ {
3176
+ "docs": {
3177
+ "stability": "experimental",
3178
+ "summary": "Returns the AWS IoT Events action specification."
3179
+ },
3180
+ "locationInModule": {
3181
+ "filename": "lib/set-variable-action.ts",
3182
+ "line": 15
3183
+ },
3184
+ "name": "bind",
3185
+ "overrides": "@aws-cdk/aws-iotevents-alpha.IAction",
3186
+ "parameters": [
3187
+ {
3188
+ "name": "_scope",
3189
+ "type": {
3190
+ "fqn": "constructs.Construct"
3191
+ }
3192
+ },
3193
+ {
3194
+ "name": "_options",
3195
+ "type": {
3196
+ "fqn": "@aws-cdk/aws-iotevents-alpha.ActionBindOptions"
3197
+ }
3198
+ }
3199
+ ],
3200
+ "returns": {
3201
+ "type": {
3202
+ "fqn": "@aws-cdk/aws-iotevents-alpha.ActionConfig"
3203
+ }
3204
+ }
3205
+ }
3206
+ ],
3207
+ "name": "SetVariableAction",
3208
+ "symbolId": "lib/set-variable-action:SetVariableAction"
3099
3209
  }
3100
3210
  },
3101
- "version": "2.16.0-alpha.0",
3211
+ "version": "2.19.0-alpha.0",
3102
3212
  "fingerprint": "**********"
3103
3213
  }
package/.jsii.tabl.json CHANGED
@@ -1,7 +1,73 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.54.0",
3
+ "toolVersion": "1.55.1",
4
4
  "snippets": {
5
+ "3a50b79e103d87f35fbd05d11b302ae8f3e2ca6663bc42484fb79f2a17a1f117": {
6
+ "translations": {
7
+ "python": {
8
+ "source": "import aws_cdk.aws_iotevents_alpha as iotevents\nimport aws_cdk.aws_iotevents_actions_alpha as actions\n\n# input: iotevents.IInput\n\nstate = iotevents.State(\n state_name=\"MyState\",\n on_enter=[iotevents.Event(\n event_name=\"test-event\",\n condition=iotevents.Expression.current_input(input),\n actions=[actions, [\n actions.SetVariableAction(\"MyVariable\",\n iotevents.Expression.input_attribute(input, \"payload.temperature\"))\n ]\n ]\n )]\n)",
9
+ "version": "2"
10
+ },
11
+ "csharp": {
12
+ "source": "using Amazon.CDK.AWS.IoTEvents.Alpha;\nusing Amazon.CDK.AWS.IoTEvents.Actions.Alpha;\n\nIInput input;\n\nState state = new State(new StateProps {\n StateName = \"MyState\",\n OnEnter = new [] { new Event {\n EventName = \"test-event\",\n Condition = Expression.CurrentInput(input),\n Actions = new [] { actions, new [] {\n new SetVariableAction(\"MyVariable\", Expression.InputAttribute(input, \"payload.temperature\")) } }\n } }\n});",
13
+ "version": "1"
14
+ },
15
+ "java": {
16
+ "source": "import software.amazon.awscdk.services.iotevents.alpha.*;\nimport software.amazon.awscdk.services.iotevents.actions.alpha.*;\n\nIInput input;\n\nState state = State.Builder.create()\n .stateName(\"MyState\")\n .onEnter(List.of(Event.builder()\n .eventName(\"test-event\")\n .condition(Expression.currentInput(input))\n .actions(List.of(actions, List.of(\n new SetVariableAction(\"MyVariable\", Expression.inputAttribute(input, \"payload.temperature\")))))\n .build()))\n .build();",
17
+ "version": "1"
18
+ },
19
+ "go": {
20
+ "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})",
21
+ "version": "1"
22
+ },
23
+ "$": {
24
+ "source": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});",
25
+ "version": "0"
26
+ }
27
+ },
28
+ "location": {
29
+ "api": {
30
+ "api": "moduleReadme",
31
+ "moduleFqn": "@aws-cdk/aws-iotevents-actions-alpha"
32
+ },
33
+ "field": {
34
+ "field": "markdown",
35
+ "line": 35
36
+ }
37
+ },
38
+ "didCompile": false,
39
+ "fqnsReferenced": [
40
+ "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction",
41
+ "@aws-cdk/aws-iotevents-alpha.Expression",
42
+ "@aws-cdk/aws-iotevents-alpha.Expression#currentInput",
43
+ "@aws-cdk/aws-iotevents-alpha.Expression#inputAttribute",
44
+ "@aws-cdk/aws-iotevents-alpha.IInput",
45
+ "@aws-cdk/aws-iotevents-alpha.State",
46
+ "@aws-cdk/aws-iotevents-alpha.StateProps"
47
+ ],
48
+ "fullSource": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});",
49
+ "syntaxKindCounter": {
50
+ "10": 6,
51
+ "75": 24,
52
+ "130": 1,
53
+ "153": 1,
54
+ "169": 1,
55
+ "192": 3,
56
+ "193": 2,
57
+ "194": 6,
58
+ "196": 2,
59
+ "197": 2,
60
+ "225": 2,
61
+ "242": 2,
62
+ "243": 2,
63
+ "254": 2,
64
+ "255": 2,
65
+ "256": 2,
66
+ "281": 5,
67
+ "290": 1
68
+ },
69
+ "fqnsFingerprint": "226d6c2fa5e69560f0fc23468378761ab44719798ab8b629d6c76141c0e46743"
70
+ },
5
71
  "37d0a214abe7a2298a1ab5db51ef8090274727e97df91f78ab2f8b40d06216ba": {
6
72
  "translations": {
7
73
  "python": {
@@ -16,6 +82,10 @@
16
82
  "source": "import software.amazon.awscdk.services.iotevents.alpha.*;\nimport software.amazon.awscdk.services.iotevents.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nIInput input;\nIFunction func;\n\nState state = State.Builder.create()\n .stateName(\"MyState\")\n .onEnter(List.of(Event.builder()\n .eventName(\"test-event\")\n .condition(Expression.currentInput(input))\n .actions(List.of(new LambdaInvokeAction(func)))\n .build()))\n .build();",
17
83
  "version": "1"
18
84
  },
85
+ "go": {
86
+ "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 input iInput\nvar func iFunction\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.NewLambdaInvokeAction(func),\n\t\t\t},\n\t\t},\n\t},\n})",
87
+ "version": "1"
88
+ },
19
89
  "$": {
20
90
  "source": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\ndeclare const input: iotevents.IInput;\ndeclare const func: lambda.IFunction;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [new actions.LambdaInvokeAction(func)],\n }],\n});",
21
91
  "version": "0"
@@ -28,7 +98,7 @@
28
98
  },
29
99
  "field": {
30
100
  "field": "markdown",
31
- "line": 34
101
+ "line": 63
32
102
  }
33
103
  },
34
104
  "didCompile": true,
@@ -62,7 +132,7 @@
62
132
  "281": 5,
63
133
  "290": 1
64
134
  },
65
- "fqnsFingerprint": "34d1f6d754089c9f97d07cfe1de41c795dbb8f26f8e68819987875b50ee6abf2"
135
+ "fqnsFingerprint": "e1c7d3a1bb1d288ce7ee3f0190f576b62f157e7d3f06651b93081dd449709f48"
66
136
  },
67
137
  "608e7356ead228295bdedba3dffba3109fb96bfcb4b8bc6de21bd9faca41a9b5": {
68
138
  "translations": {
@@ -78,6 +148,10 @@
78
148
  "source": "import software.amazon.awscdk.services.iotevents.alpha.*;\nimport software.amazon.awscdk.services.iotevents.actions.alpha.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nIFunction func;\n\n\nInput input = Input.Builder.create(this, \"MyInput\")\n .inputName(\"my_input\") // optional\n .attributeJsonPaths(List.of(\"payload.deviceId\", \"payload.temperature\"))\n .build();\n\nState warmState = State.Builder.create()\n .stateName(\"warm\")\n .onEnter(List.of(Event.builder()\n .eventName(\"test-enter-event\")\n .condition(Expression.currentInput(input))\n .actions(List.of(new LambdaInvokeAction(func)))\n .build()))\n .onInput(List.of(Event.builder() // optional\n .eventName(\"test-input-event\")\n .actions(List.of(new LambdaInvokeAction(func))).build()))\n .onExit(List.of(Event.builder() // optional\n .eventName(\"test-exit-event\")\n .actions(List.of(new LambdaInvokeAction(func))).build()))\n .build();\nState coldState = State.Builder.create()\n .stateName(\"cold\")\n .build();\n\n// transit to coldState when temperature is 10\nwarmState.transitionTo(coldState, TransitionOptions.builder()\n .eventName(\"to_coldState\") // optional property, default by combining the names of the States\n .when(Expression.eq(Expression.inputAttribute(input, \"payload.temperature\"), Expression.fromString(\"10\")))\n .executing(List.of(new LambdaInvokeAction(func)))\n .build());\n// transit to warmState when temperature is 20\ncoldState.transitionTo(warmState, TransitionOptions.builder()\n .when(Expression.eq(Expression.inputAttribute(input, \"payload.temperature\"), Expression.fromString(\"20\")))\n .build());\n\nDetectorModel.Builder.create(this, \"MyDetectorModel\")\n .detectorModelName(\"test-detector-model\") // optional\n .description(\"test-detector-model-description\") // optional property, default is none\n .evaluationMethod(EventEvaluation.SERIAL) // optional property, default is iotevents.EventEvaluation.BATCH\n .detectorKey(\"payload.deviceId\") // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n .initialState(warmState)\n .build();",
79
149
  "version": "1"
80
150
  },
151
+ "go": {
152
+ "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 10\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.eq(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"10\"))),\n\texecuting: []*iAction{\n\t\tactions.NewLambdaInvokeAction(func),\n\t},\n})\n// transit to warmState when temperature is 20\ncoldState.transitionTo(warmState, &transitionOptions{\n\twhen: iotevents.*expression.eq(iotevents.*expression.inputAttribute(input, jsii.String(\"payload.temperature\")), iotevents.*expression.fromString(jsii.String(\"20\"))),\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})",
153
+ "version": "1"
154
+ },
81
155
  "$": {
82
156
  "source": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\ndeclare const func: lambda.IFunction;\n\nconst input = new iotevents.Input(this, 'MyInput', {\n inputName: 'my_input', // optional\n attributeJsonPaths: ['payload.deviceId', 'payload.temperature'],\n});\n\nconst warmState = new iotevents.State({\n stateName: 'warm',\n onEnter: [{\n eventName: 'test-enter-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [new actions.LambdaInvokeAction(func)], // optional\n }],\n onInput: [{ // optional\n eventName: 'test-input-event',\n actions: [new actions.LambdaInvokeAction(func)],\n }],\n onExit: [{ // optional\n eventName: 'test-exit-event',\n actions: [new actions.LambdaInvokeAction(func)],\n }],\n});\nconst coldState = new iotevents.State({\n stateName: 'cold',\n});\n\n// transit to coldState when temperature is 10\nwarmState.transitionTo(coldState, {\n eventName: 'to_coldState', // optional property, default by combining the names of the States\n when: iotevents.Expression.eq(\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n iotevents.Expression.fromString('10'),\n ),\n executing: [new actions.LambdaInvokeAction(func)], // optional\n});\n// transit to warmState when temperature is 20\ncoldState.transitionTo(warmState, {\n when: iotevents.Expression.eq(\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n iotevents.Expression.fromString('20'),\n ),\n});\n\nnew iotevents.DetectorModel(this, 'MyDetectorModel', {\n detectorModelName: 'test-detector-model', // optional\n description: 'test-detector-model-description', // optional property, default is none\n evaluationMethod: iotevents.EventEvaluation.SERIAL, // optional property, default is iotevents.EventEvaluation.BATCH\n detectorKey: 'payload.deviceId', // optional property, default is none and single detector instance will be created and all inputs will be routed to it\n initialState: warmState,\n});",
83
157
  "version": "0"
@@ -136,7 +210,72 @@
136
210
  "281": 23,
137
211
  "290": 1
138
212
  },
139
- "fqnsFingerprint": "658afec51a3d6c7dc2d92525fd6212704345425598e407de7b9ccaa5b779567b"
213
+ "fqnsFingerprint": "77d6df00a59d3dc17f90fa695a40a14c56e59243904e2fccd8843bd26af3e67d"
214
+ },
215
+ "eb1fb171932b7622e546cf1de59b6a048d56d35b9740f17c4f44c01bea051ec0": {
216
+ "translations": {
217
+ "python": {
218
+ "source": "import aws_cdk.aws_iotevents_alpha as iotevents\nimport aws_cdk.aws_iotevents_actions_alpha as actions\n\n# input: iotevents.IInput\n\nstate = iotevents.State(\n state_name=\"MyState\",\n on_enter=[iotevents.Event(\n event_name=\"test-event\",\n condition=iotevents.Expression.current_input(input),\n actions=[actions, [\n actions.SetVariableAction(\"MyVariable\",\n iotevents.Expression.input_attribute(input, \"payload.temperature\"))\n ]\n ]\n )]\n)",
219
+ "version": "2"
220
+ },
221
+ "csharp": {
222
+ "source": "using Amazon.CDK.AWS.IoTEvents.Alpha;\nusing Amazon.CDK.AWS.IoTEvents.Actions.Alpha;\n\nIInput input;\n\nState state = new State(new StateProps {\n StateName = \"MyState\",\n OnEnter = new [] { new Event {\n EventName = \"test-event\",\n Condition = Expression.CurrentInput(input),\n Actions = new [] { actions, new [] {\n new SetVariableAction(\"MyVariable\", Expression.InputAttribute(input, \"payload.temperature\")) } }\n } }\n});",
223
+ "version": "1"
224
+ },
225
+ "java": {
226
+ "source": "import software.amazon.awscdk.services.iotevents.alpha.*;\nimport software.amazon.awscdk.services.iotevents.actions.alpha.*;\n\nIInput input;\n\nState state = State.Builder.create()\n .stateName(\"MyState\")\n .onEnter(List.of(Event.builder()\n .eventName(\"test-event\")\n .condition(Expression.currentInput(input))\n .actions(List.of(actions, List.of(\n new SetVariableAction(\"MyVariable\", Expression.inputAttribute(input, \"payload.temperature\")))))\n .build()))\n .build();",
227
+ "version": "1"
228
+ },
229
+ "go": {
230
+ "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})",
231
+ "version": "1"
232
+ },
233
+ "$": {
234
+ "source": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});",
235
+ "version": "0"
236
+ }
237
+ },
238
+ "location": {
239
+ "api": {
240
+ "api": "type",
241
+ "fqn": "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction"
242
+ },
243
+ "field": {
244
+ "field": "example"
245
+ }
246
+ },
247
+ "didCompile": false,
248
+ "fqnsReferenced": [
249
+ "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction",
250
+ "@aws-cdk/aws-iotevents-alpha.Expression",
251
+ "@aws-cdk/aws-iotevents-alpha.Expression#currentInput",
252
+ "@aws-cdk/aws-iotevents-alpha.Expression#inputAttribute",
253
+ "@aws-cdk/aws-iotevents-alpha.IInput",
254
+ "@aws-cdk/aws-iotevents-alpha.State",
255
+ "@aws-cdk/aws-iotevents-alpha.StateProps"
256
+ ],
257
+ "fullSource": "import * as iotevents from '@aws-cdk/aws-iotevents-alpha';\nimport * as actions from '@aws-cdk/aws-iotevents-actions-alpha';\n\ndeclare const input: iotevents.IInput;\n\nconst state = new iotevents.State({\n stateName: 'MyState',\n onEnter: [{\n eventName: 'test-event',\n condition: iotevents.Expression.currentInput(input),\n actions: [\n actions: [\n new actions.SetVariableAction(\n 'MyVariable',\n iotevents.Expression.inputAttribute(input, 'payload.temperature'),\n ),\n ],\n ],\n }],\n});",
258
+ "syntaxKindCounter": {
259
+ "10": 6,
260
+ "75": 24,
261
+ "130": 1,
262
+ "153": 1,
263
+ "169": 1,
264
+ "192": 3,
265
+ "193": 2,
266
+ "194": 6,
267
+ "196": 2,
268
+ "197": 2,
269
+ "225": 2,
270
+ "242": 2,
271
+ "243": 2,
272
+ "254": 2,
273
+ "255": 2,
274
+ "256": 2,
275
+ "281": 5,
276
+ "290": 1
277
+ },
278
+ "fqnsFingerprint": "226d6c2fa5e69560f0fc23468378761ab44719798ab8b629d6c76141c0e46743"
140
279
  }
141
280
  }
142
281
  }
package/.warnings.jsii.js CHANGED
@@ -1,3 +1,5 @@
1
+ function _aws_cdk_aws_iotevents_actions_alpha_SetVariableAction(p) {
2
+ }
1
3
  function _aws_cdk_aws_iotevents_actions_alpha_LambdaInvokeAction(p) {
2
4
  }
3
5
  function print(name, deprecationMessage) {
@@ -15,5 +17,5 @@ function print(name, deprecationMessage) {
15
17
  const visitedObjects = new Set();
16
18
  class DeprecationError extends Error {
17
19
  }
18
- module.exports = { print, _aws_cdk_aws_iotevents_actions_alpha_LambdaInvokeAction };
20
+ module.exports = { print, _aws_cdk_aws_iotevents_actions_alpha_SetVariableAction, _aws_cdk_aws_iotevents_actions_alpha_LambdaInvokeAction };
19
21
  module.exports.DeprecationError = DeprecationError;
package/README.md CHANGED
@@ -24,8 +24,37 @@ AWS IoT Events can trigger actions when it detects a specified event or transiti
24
24
 
25
25
  Currently supported are:
26
26
 
27
+ - Set variable to detector instanse
27
28
  - Invoke a Lambda function
28
29
 
30
+ ## Set variable to detector instanse
31
+
32
+ The code snippet below creates an Action that set variable to detector instanse
33
+ when it is triggered.
34
+
35
+ ```ts
36
+ import * as iotevents from '@aws-cdk/aws-iotevents-alpha';
37
+ import * as actions from '@aws-cdk/aws-iotevents-actions-alpha';
38
+
39
+ declare const input: iotevents.IInput;
40
+
41
+ const state = new iotevents.State({
42
+ stateName: 'MyState',
43
+ onEnter: [{
44
+ eventName: 'test-event',
45
+ condition: iotevents.Expression.currentInput(input),
46
+ actions: [
47
+ actions: [
48
+ new actions.SetVariableAction(
49
+ 'MyVariable',
50
+ iotevents.Expression.inputAttribute(input, 'payload.temperature'),
51
+ ),
52
+ ],
53
+ ],
54
+ }],
55
+ });
56
+ ```
57
+
29
58
  ## Invoke a Lambda function
30
59
 
31
60
  The code snippet below creates an Action that invoke a Lambda function
package/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ export * from './set-variable-action';
1
2
  export * from './lambda-invoke-action';
package/lib/index.js CHANGED
@@ -10,5 +10,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./set-variable-action"), exports);
13
14
  __exportStar(require("./lambda-invoke-action"), exports);
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx5REFBdUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xhbWJkYS1pbnZva2UtYWN0aW9uJztcbiJdfQ==
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx3REFBc0M7QUFDdEMseURBQXVDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZXQtdmFyaWFibGUtYWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vbGFtYmRhLWludm9rZS1hY3Rpb24nO1xuIl19
@@ -26,5 +26,5 @@ class LambdaInvokeAction {
26
26
  }
27
27
  exports.LambdaInvokeAction = LambdaInvokeAction;
28
28
  _a = JSII_RTTI_SYMBOL_1;
29
- LambdaInvokeAction[_a] = { fqn: "@aws-cdk/aws-iotevents-actions-alpha.LambdaInvokeAction", version: "2.16.0-alpha.0" };
29
+ LambdaInvokeAction[_a] = { fqn: "@aws-cdk/aws-iotevents-actions-alpha.LambdaInvokeAction", version: "2.19.0-alpha.0" };
30
30
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFtYmRhLWludm9rZS1hY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJsYW1iZGEtaW52b2tlLWFjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUlBOztHQUVHO0FBQ0gsTUFBYSxrQkFBa0I7SUFDN0I7O09BRUc7SUFDSCxZQUE2QixJQUFzQjtRQUF0QixTQUFJLEdBQUosSUFBSSxDQUFrQjtLQUNsRDtJQUVELElBQUksQ0FBQyxNQUFpQixFQUFFLE9BQW9DO1FBQzFELElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNwQyxPQUFPO1lBQ0wsYUFBYSxFQUFFO2dCQUNiLE1BQU0sRUFBRTtvQkFDTixXQUFXLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXO2lCQUNuQzthQUNGO1NBQ0YsQ0FBQztLQUNIOztBQWhCSCxnREFpQkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBpb3RldmVudHMgZnJvbSAnQGF3cy1jZGsvYXdzLWlvdGV2ZW50cy1hbHBoYSc7XG5pbXBvcnQgKiBhcyBsYW1iZGEgZnJvbSAnYXdzLWNkay1saWIvYXdzLWxhbWJkYSc7XG5pbXBvcnQgeyBDb25zdHJ1Y3QgfSBmcm9tICdjb25zdHJ1Y3RzJztcblxuLyoqXG4gKiBUaGUgYWN0aW9uIHRvIHdyaXRlIHRoZSBkYXRhIHRvIGFuIEFXUyBMYW1iZGEgZnVuY3Rpb24uXG4gKi9cbmV4cG9ydCBjbGFzcyBMYW1iZGFJbnZva2VBY3Rpb24gaW1wbGVtZW50cyBpb3RldmVudHMuSUFjdGlvbiB7XG4gIC8qKlxuICAgKiBAcGFyYW0gZnVuYyB0aGUgQVdTIExhbWJkYSBmdW5jdGlvbiB0byBiZSBpbnZva2VkIGJ5IHRoaXMgYWN0aW9uXG4gICAqL1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IGZ1bmM6IGxhbWJkYS5JRnVuY3Rpb24pIHtcbiAgfVxuXG4gIGJpbmQoX3Njb3BlOiBDb25zdHJ1Y3QsIG9wdGlvbnM6IGlvdGV2ZW50cy5BY3Rpb25CaW5kT3B0aW9ucyk6IGlvdGV2ZW50cy5BY3Rpb25Db25maWcge1xuICAgIHRoaXMuZnVuYy5ncmFudEludm9rZShvcHRpb25zLnJvbGUpO1xuICAgIHJldHVybiB7XG4gICAgICBjb25maWd1cmF0aW9uOiB7XG4gICAgICAgIGxhbWJkYToge1xuICAgICAgICAgIGZ1bmN0aW9uQXJuOiB0aGlzLmZ1bmMuZnVuY3Rpb25Bcm4sXG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,15 @@
1
+ import * as iotevents from '@aws-cdk/aws-iotevents-alpha';
2
+ import { Construct } from 'constructs';
3
+ /**
4
+ * The action to create a variable with a specified value.
5
+ */
6
+ export declare class SetVariableAction implements iotevents.IAction {
7
+ private readonly variableName;
8
+ private readonly value;
9
+ /**
10
+ * @param variableName the name of the variable
11
+ * @param value the new value of the variable
12
+ */
13
+ constructor(variableName: string, value: iotevents.Expression);
14
+ bind(_scope: Construct, _options: iotevents.ActionBindOptions): iotevents.ActionConfig;
15
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SetVariableAction = void 0;
5
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
6
+ /**
7
+ * The action to create a variable with a specified value.
8
+ */
9
+ class SetVariableAction {
10
+ /**
11
+ * @param variableName the name of the variable
12
+ * @param value the new value of the variable
13
+ */
14
+ constructor(variableName, value) {
15
+ this.variableName = variableName;
16
+ this.value = value;
17
+ }
18
+ bind(_scope, _options) {
19
+ return {
20
+ configuration: {
21
+ setVariable: {
22
+ variableName: this.variableName,
23
+ value: this.value.evaluate(),
24
+ },
25
+ },
26
+ };
27
+ }
28
+ }
29
+ exports.SetVariableAction = SetVariableAction;
30
+ _a = JSII_RTTI_SYMBOL_1;
31
+ SetVariableAction[_a] = { fqn: "@aws-cdk/aws-iotevents-actions-alpha.SetVariableAction", version: "2.19.0-alpha.0" };
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0LXZhcmlhYmxlLWFjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNldC12YXJpYWJsZS1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFHQTs7R0FFRztBQUNILE1BQWEsaUJBQWlCO0lBQzVCOzs7T0FHRztJQUNILFlBQTZCLFlBQW9CLEVBQW1CLEtBQTJCO1FBQWxFLGlCQUFZLEdBQVosWUFBWSxDQUFRO1FBQW1CLFVBQUssR0FBTCxLQUFLLENBQXNCO0tBQzlGO0lBRUQsSUFBSSxDQUFDLE1BQWlCLEVBQUUsUUFBcUM7UUFDM0QsT0FBTztZQUNMLGFBQWEsRUFBRTtnQkFDYixXQUFXLEVBQUU7b0JBQ1gsWUFBWSxFQUFFLElBQUksQ0FBQyxZQUFZO29CQUMvQixLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxRQUFRLEVBQUU7aUJBQzdCO2FBQ0Y7U0FDRixDQUFDO0tBQ0g7O0FBakJILDhDQWtCQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGlvdGV2ZW50cyBmcm9tICdAYXdzLWNkay9hd3MtaW90ZXZlbnRzLWFscGhhJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuXG4vKipcbiAqIFRoZSBhY3Rpb24gdG8gY3JlYXRlIGEgdmFyaWFibGUgd2l0aCBhIHNwZWNpZmllZCB2YWx1ZS5cbiAqL1xuZXhwb3J0IGNsYXNzIFNldFZhcmlhYmxlQWN0aW9uIGltcGxlbWVudHMgaW90ZXZlbnRzLklBY3Rpb24ge1xuICAvKipcbiAgICogQHBhcmFtIHZhcmlhYmxlTmFtZSB0aGUgbmFtZSBvZiB0aGUgdmFyaWFibGVcbiAgICogQHBhcmFtIHZhbHVlIHRoZSBuZXcgdmFsdWUgb2YgdGhlIHZhcmlhYmxlXG4gICAqL1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IHZhcmlhYmxlTmFtZTogc3RyaW5nLCBwcml2YXRlIHJlYWRvbmx5IHZhbHVlOiBpb3RldmVudHMuRXhwcmVzc2lvbikge1xuICB9XG5cbiAgYmluZChfc2NvcGU6IENvbnN0cnVjdCwgX29wdGlvbnM6IGlvdGV2ZW50cy5BY3Rpb25CaW5kT3B0aW9ucyk6IGlvdGV2ZW50cy5BY3Rpb25Db25maWcge1xuICAgIHJldHVybiB7XG4gICAgICBjb25maWd1cmF0aW9uOiB7XG4gICAgICAgIHNldFZhcmlhYmxlOiB7XG4gICAgICAgICAgdmFyaWFibGVOYW1lOiB0aGlzLnZhcmlhYmxlTmFtZSxcbiAgICAgICAgICB2YWx1ZTogdGhpcy52YWx1ZS5ldmFsdWF0ZSgpLFxuICAgICAgICB9LFxuICAgICAgfSxcbiAgICB9O1xuICB9XG59XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-iotevents-actions-alpha",
3
- "version": "2.16.0-alpha.0",
3
+ "version": "2.19.0-alpha.0",
4
4
  "description": "Receipt Detector Model actions for AWS IoT Events",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "module": "aws_cdk.aws_iotevents_actions_alpha",
25
25
  "classifiers": [
26
26
  "Framework :: AWS CDK",
27
- "Framework :: AWS CDK :: 1"
27
+ "Framework :: AWS CDK :: 2"
28
28
  ]
29
29
  },
30
30
  "go": {
@@ -74,20 +74,20 @@
74
74
  },
75
75
  "license": "Apache-2.0",
76
76
  "devDependencies": {
77
- "@aws-cdk/cdk-build-tools": "2.16.0",
78
- "@aws-cdk/cdk-integ-tools": "2.16.0",
79
- "@aws-cdk/pkglint": "2.16.0",
77
+ "@aws-cdk/cdk-build-tools": "2.19.0",
78
+ "@aws-cdk/cdk-integ-tools": "2.19.0",
79
+ "@aws-cdk/pkglint": "2.19.0",
80
80
  "@types/jest": "^27.4.1",
81
81
  "jest": "^27.5.1",
82
- "aws-cdk-lib": "2.16.0",
82
+ "aws-cdk-lib": "2.19.0",
83
83
  "constructs": "^10.0.0",
84
- "@aws-cdk/aws-iotevents-alpha": "2.16.0-alpha.0"
84
+ "@aws-cdk/aws-iotevents-alpha": "2.19.0-alpha.0"
85
85
  },
86
86
  "dependencies": {},
87
87
  "homepage": "https://github.com/aws/aws-cdk",
88
88
  "peerDependencies": {
89
- "@aws-cdk/aws-iotevents-alpha": "2.16.0-alpha.0",
90
- "aws-cdk-lib": "^2.16.0",
89
+ "@aws-cdk/aws-iotevents-alpha": "2.19.0-alpha.0",
90
+ "aws-cdk-lib": "^2.19.0",
91
91
  "constructs": "^10.0.0"
92
92
  },
93
93
  "engines": {