@aws-cdk/aws-iotevents-alpha 2.232.0-alpha.0 → 2.232.2-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 +2 -2
- package/lib/action.d.ts +6 -0
- package/lib/detector-model.js +1 -1
- package/lib/expression.js +1 -1
- package/lib/input.js +1 -1
- package/lib/state.d.ts +17 -1
- package/lib/state.js +1 -1
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.232.
|
|
11
|
+
"aws-cdk-lib": "^2.232.2",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -10334,6 +10334,6 @@
|
|
|
10334
10334
|
"symbolId": "lib/state:TransitionOptions"
|
|
10335
10335
|
}
|
|
10336
10336
|
},
|
|
10337
|
-
"version": "2.232.
|
|
10337
|
+
"version": "2.232.2-alpha.0",
|
|
10338
10338
|
"fingerprint": "**********"
|
|
10339
10339
|
}
|
package/lib/action.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
2
2
|
import { CfnDetectorModel } from 'aws-cdk-lib/aws-iotevents';
|
|
3
|
+
import { Construct } from 'constructs';
|
|
3
4
|
/**
|
|
4
5
|
* Options when binding a Action to a detector model.
|
|
5
6
|
*/
|
|
@@ -13,6 +14,11 @@ export interface ActionBindOptions {
|
|
|
13
14
|
* An abstract action for DetectorModel.
|
|
14
15
|
*/
|
|
15
16
|
export interface IAction {
|
|
17
|
+
/**
|
|
18
|
+
* Returns the AWS IoT Events action specification.
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
_bind(scope: Construct, options: ActionBindOptions): ActionConfig;
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* Properties for a AWS IoT Events action
|
package/lib/detector-model.js
CHANGED
|
@@ -75,7 +75,7 @@ let DetectorModel = (() => {
|
|
|
75
75
|
DetectorModel = _classThis = _classDescriptor.value;
|
|
76
76
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
77
77
|
}
|
|
78
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.DetectorModel", version: "2.232.
|
|
78
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.DetectorModel", version: "2.232.2-alpha.0" };
|
|
79
79
|
/** Uniquely identifies this class. */
|
|
80
80
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-iotevents-alpha.DetectorModel';
|
|
81
81
|
/**
|
package/lib/expression.js
CHANGED
|
@@ -8,7 +8,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
8
8
|
* @see https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
|
|
9
9
|
*/
|
|
10
10
|
class Expression {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.Expression", version: "2.232.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.Expression", version: "2.232.2-alpha.0" };
|
|
12
12
|
/**
|
|
13
13
|
* Create a expression from the given string.
|
|
14
14
|
*/
|
package/lib/input.js
CHANGED
|
@@ -71,7 +71,7 @@ let Input = (() => {
|
|
|
71
71
|
Input = _classThis = _classDescriptor.value;
|
|
72
72
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
73
73
|
}
|
|
74
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.Input", version: "2.232.
|
|
74
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.Input", version: "2.232.2-alpha.0" };
|
|
75
75
|
/** Uniquely identifies this class. */
|
|
76
76
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-iotevents-alpha.Input';
|
|
77
77
|
/**
|
package/lib/state.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CfnDetectorModel } from 'aws-cdk-lib/aws-iotevents';
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
import { IAction, ActionBindOptions } from './action';
|
|
2
4
|
import { Event } from './event';
|
|
3
5
|
import { Expression } from './expression';
|
|
4
6
|
/**
|
|
@@ -72,5 +74,19 @@ export declare class State {
|
|
|
72
74
|
* @param options transition options including the condition that causes the state transition
|
|
73
75
|
*/
|
|
74
76
|
transitionTo(targetState: State, options: TransitionOptions): void;
|
|
77
|
+
/**
|
|
78
|
+
* Collect states in dependency graph that constructed by state transitions,
|
|
79
|
+
* and return the JSONs of the states.
|
|
80
|
+
* This function is called recursively and collect the states.
|
|
81
|
+
*
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
_collectStateJsons(scope: Construct, actionBindOptions: ActionBindOptions, collectedStates: Set<State>): CfnDetectorModel.StateProperty[];
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if this state has at least one condition via events.
|
|
87
|
+
*
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
_onEnterEventsHaveAtLeastOneCondition(): boolean;
|
|
75
91
|
private toStateJson;
|
|
76
92
|
}
|
package/lib/state.js
CHANGED
|
@@ -8,7 +8,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
8
8
|
*/
|
|
9
9
|
class State {
|
|
10
10
|
props;
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.State", version: "2.232.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-iotevents-alpha.State", version: "2.232.2-alpha.0" };
|
|
12
12
|
/**
|
|
13
13
|
* The name of the state.
|
|
14
14
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-iotevents-alpha",
|
|
3
|
-
"version": "2.232.
|
|
3
|
+
"version": "2.232.2-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS::IoTEvents",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -84,18 +84,18 @@
|
|
|
84
84
|
},
|
|
85
85
|
"license": "Apache-2.0",
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@aws-cdk/cdk-build-tools": "2.232.
|
|
87
|
+
"@aws-cdk/cdk-build-tools": "2.232.2-alpha.0",
|
|
88
88
|
"@aws-cdk/integ-runner": "^2.192.2",
|
|
89
|
-
"@aws-cdk/pkglint": "2.232.
|
|
89
|
+
"@aws-cdk/pkglint": "2.232.2-alpha.0",
|
|
90
90
|
"@types/jest": "^29.5.14",
|
|
91
91
|
"jest": "^29.7.0",
|
|
92
|
-
"aws-cdk-lib": "2.232.
|
|
92
|
+
"aws-cdk-lib": "2.232.2",
|
|
93
93
|
"constructs": "^10.0.0",
|
|
94
|
-
"@aws-cdk/integ-tests-alpha": "2.232.
|
|
94
|
+
"@aws-cdk/integ-tests-alpha": "2.232.2-alpha.0"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"aws-cdk-lib": "^2.232.
|
|
98
|
+
"aws-cdk-lib": "^2.232.2",
|
|
99
99
|
"constructs": "^10.0.0"
|
|
100
100
|
},
|
|
101
101
|
"engines": {
|