cdk-lambda-subminute 2.0.481 → 2.0.483
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 +4 -4
- package/API.md +494 -80
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +247 -161
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +78 -40
- package/node_modules/aws-sdk/clients/iotsitewise.d.ts +169 -72
- package/node_modules/aws-sdk/clients/workspaces.d.ts +57 -2
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
package/API.md
CHANGED
@@ -1,171 +1,585 @@
|
|
1
|
-
# API Reference
|
1
|
+
# API Reference <a name="API Reference" id="api-reference"></a>
|
2
2
|
|
3
|
-
|
3
|
+
## Constructs <a name="Constructs" id="Constructs"></a>
|
4
4
|
|
5
|
-
|
6
|
-
----|-----------
|
7
|
-
[IteratorLambda](#cdk-lambda-subminute-iteratorlambda)|*No description*
|
8
|
-
[LambdaSubminute](#cdk-lambda-subminute-lambdasubminute)|*No description*
|
9
|
-
[SubminuteStateMachine](#cdk-lambda-subminute-subminutestatemachine)|*No description*
|
5
|
+
### IteratorLambda <a name="IteratorLambda" id="cdk-lambda-subminute.IteratorLambda"></a>
|
10
6
|
|
7
|
+
#### Initializers <a name="Initializers" id="cdk-lambda-subminute.IteratorLambda.Initializer"></a>
|
11
8
|
|
12
|
-
|
9
|
+
```typescript
|
10
|
+
import { IteratorLambda } from 'cdk-lambda-subminute'
|
13
11
|
|
14
|
-
|
15
|
-
|
16
|
-
[IteratorLambdaProps](#cdk-lambda-subminute-iteratorlambdaprops)|*No description*
|
17
|
-
[LambdaSubminuteProps](#cdk-lambda-subminute-lambdasubminuteprops)|*No description*
|
18
|
-
[SubminuteStateMachineProps](#cdk-lambda-subminute-subminutestatemachineprops)|*No description*
|
12
|
+
new IteratorLambda(scope: Construct, name: string, props: IteratorLambdaProps)
|
13
|
+
```
|
19
14
|
|
15
|
+
| **Name** | **Type** | **Description** |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
18
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.Initializer.parameter.name">name</a></code> | <code>string</code> | *No description.* |
|
19
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.Initializer.parameter.props">props</a></code> | <code><a href="#cdk-lambda-subminute.IteratorLambdaProps">IteratorLambdaProps</a></code> | *No description.* |
|
20
20
|
|
21
|
+
---
|
21
22
|
|
22
|
-
|
23
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="cdk-lambda-subminute.IteratorLambda.Initializer.parameter.scope"></a>
|
23
24
|
|
25
|
+
- *Type:* constructs.Construct
|
24
26
|
|
27
|
+
---
|
25
28
|
|
26
|
-
|
27
|
-
__Extends__: [Construct](#constructs-construct)
|
29
|
+
##### `name`<sup>Required</sup> <a name="name" id="cdk-lambda-subminute.IteratorLambda.Initializer.parameter.name"></a>
|
28
30
|
|
29
|
-
|
31
|
+
- *Type:* string
|
30
32
|
|
33
|
+
---
|
31
34
|
|
35
|
+
##### `props`<sup>Required</sup> <a name="props" id="cdk-lambda-subminute.IteratorLambda.Initializer.parameter.props"></a>
|
32
36
|
|
37
|
+
- *Type:* <a href="#cdk-lambda-subminute.IteratorLambdaProps">IteratorLambdaProps</a>
|
33
38
|
|
34
|
-
|
35
|
-
|
39
|
+
---
|
40
|
+
|
41
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
42
|
+
|
43
|
+
| **Name** | **Description** |
|
44
|
+
| --- | --- |
|
45
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.toString">toString</a></code> | Returns a string representation of this construct. |
|
46
|
+
|
47
|
+
---
|
48
|
+
|
49
|
+
##### `toString` <a name="toString" id="cdk-lambda-subminute.IteratorLambda.toString"></a>
|
50
|
+
|
51
|
+
```typescript
|
52
|
+
public toString(): string
|
36
53
|
```
|
37
54
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
55
|
+
Returns a string representation of this construct.
|
56
|
+
|
57
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
58
|
+
|
59
|
+
| **Name** | **Description** |
|
60
|
+
| --- | --- |
|
61
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
62
|
+
|
63
|
+
---
|
64
|
+
|
65
|
+
##### `isConstruct` <a name="isConstruct" id="cdk-lambda-subminute.IteratorLambda.isConstruct"></a>
|
66
|
+
|
67
|
+
```typescript
|
68
|
+
import { IteratorLambda } from 'cdk-lambda-subminute'
|
69
|
+
|
70
|
+
IteratorLambda.isConstruct(x: any)
|
71
|
+
```
|
72
|
+
|
73
|
+
Checks if `x` is a construct.
|
74
|
+
|
75
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
76
|
+
instances, even when the construct library is symlinked.
|
77
|
+
|
78
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
79
|
+
disk are seen as independent, completely different libraries. As a
|
80
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
81
|
+
is seen as a different class, and an instance of one class will not test as
|
82
|
+
`instanceof` the other class. `npm install` will not create installations
|
83
|
+
like this, but users may manually symlink construct libraries together or
|
84
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
85
|
+
library can be accidentally installed, and `instanceof` will behave
|
86
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
87
|
+
this type-testing method instead.
|
88
|
+
|
89
|
+
###### `x`<sup>Required</sup> <a name="x" id="cdk-lambda-subminute.IteratorLambda.isConstruct.parameter.x"></a>
|
90
|
+
|
91
|
+
- *Type:* any
|
92
|
+
|
93
|
+
Any object.
|
42
94
|
|
95
|
+
---
|
43
96
|
|
97
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
44
98
|
|
45
|
-
|
99
|
+
| **Name** | **Type** | **Description** |
|
100
|
+
| --- | --- | --- |
|
101
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
102
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambda.property.function">function</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | A Lambda function that plays the role of the iterator. |
|
46
103
|
|
104
|
+
---
|
47
105
|
|
48
|
-
|
49
|
-
-----|------|-------------
|
50
|
-
**function** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | A Lambda function that plays the role of the iterator.
|
106
|
+
##### `node`<sup>Required</sup> <a name="node" id="cdk-lambda-subminute.IteratorLambda.property.node"></a>
|
51
107
|
|
108
|
+
```typescript
|
109
|
+
public readonly node: Node;
|
110
|
+
```
|
111
|
+
|
112
|
+
- *Type:* constructs.Node
|
113
|
+
|
114
|
+
The tree node.
|
52
115
|
|
116
|
+
---
|
53
117
|
|
54
|
-
|
118
|
+
##### `function`<sup>Required</sup> <a name="function" id="cdk-lambda-subminute.IteratorLambda.property.function"></a>
|
55
119
|
|
120
|
+
```typescript
|
121
|
+
public readonly function: IFunction;
|
122
|
+
```
|
123
|
+
|
124
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
56
125
|
|
126
|
+
A Lambda function that plays the role of the iterator.
|
57
127
|
|
58
|
-
|
59
|
-
__Extends__: [Construct](#constructs-construct)
|
128
|
+
---
|
60
129
|
|
61
|
-
### Initializer
|
62
130
|
|
131
|
+
### LambdaSubminute <a name="LambdaSubminute" id="cdk-lambda-subminute.LambdaSubminute"></a>
|
63
132
|
|
133
|
+
#### Initializers <a name="Initializers" id="cdk-lambda-subminute.LambdaSubminute.Initializer"></a>
|
64
134
|
|
135
|
+
```typescript
|
136
|
+
import { LambdaSubminute } from 'cdk-lambda-subminute'
|
65
137
|
|
66
|
-
```ts
|
67
138
|
new LambdaSubminute(parent: Construct, name: string, props: LambdaSubminuteProps)
|
68
139
|
```
|
69
140
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
141
|
+
| **Name** | **Type** | **Description** |
|
142
|
+
| --- | --- | --- |
|
143
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.parent">parent</a></code> | <code>constructs.Construct</code> | *No description.* |
|
144
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.name">name</a></code> | <code>string</code> | *No description.* |
|
145
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.props">props</a></code> | <code><a href="#cdk-lambda-subminute.LambdaSubminuteProps">LambdaSubminuteProps</a></code> | *No description.* |
|
146
|
+
|
147
|
+
---
|
148
|
+
|
149
|
+
##### `parent`<sup>Required</sup> <a name="parent" id="cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.parent"></a>
|
150
|
+
|
151
|
+
- *Type:* constructs.Construct
|
152
|
+
|
153
|
+
---
|
154
|
+
|
155
|
+
##### `name`<sup>Required</sup> <a name="name" id="cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.name"></a>
|
156
|
+
|
157
|
+
- *Type:* string
|
158
|
+
|
159
|
+
---
|
160
|
+
|
161
|
+
##### `props`<sup>Required</sup> <a name="props" id="cdk-lambda-subminute.LambdaSubminute.Initializer.parameter.props"></a>
|
162
|
+
|
163
|
+
- *Type:* <a href="#cdk-lambda-subminute.LambdaSubminuteProps">LambdaSubminuteProps</a>
|
164
|
+
|
165
|
+
---
|
166
|
+
|
167
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
168
|
+
|
169
|
+
| **Name** | **Description** |
|
170
|
+
| --- | --- |
|
171
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.toString">toString</a></code> | Returns a string representation of this construct. |
|
172
|
+
|
173
|
+
---
|
174
|
+
|
175
|
+
##### `toString` <a name="toString" id="cdk-lambda-subminute.LambdaSubminute.toString"></a>
|
176
|
+
|
177
|
+
```typescript
|
178
|
+
public toString(): string
|
179
|
+
```
|
180
|
+
|
181
|
+
Returns a string representation of this construct.
|
182
|
+
|
183
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
184
|
+
|
185
|
+
| **Name** | **Description** |
|
186
|
+
| --- | --- |
|
187
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
188
|
+
|
189
|
+
---
|
190
|
+
|
191
|
+
##### `isConstruct` <a name="isConstruct" id="cdk-lambda-subminute.LambdaSubminute.isConstruct"></a>
|
192
|
+
|
193
|
+
```typescript
|
194
|
+
import { LambdaSubminute } from 'cdk-lambda-subminute'
|
195
|
+
|
196
|
+
LambdaSubminute.isConstruct(x: any)
|
197
|
+
```
|
198
|
+
|
199
|
+
Checks if `x` is a construct.
|
200
|
+
|
201
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
202
|
+
instances, even when the construct library is symlinked.
|
203
|
+
|
204
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
205
|
+
disk are seen as independent, completely different libraries. As a
|
206
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
207
|
+
is seen as a different class, and an instance of one class will not test as
|
208
|
+
`instanceof` the other class. `npm install` will not create installations
|
209
|
+
like this, but users may manually symlink construct libraries together or
|
210
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
211
|
+
library can be accidentally installed, and `instanceof` will behave
|
212
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
213
|
+
this type-testing method instead.
|
214
|
+
|
215
|
+
###### `x`<sup>Required</sup> <a name="x" id="cdk-lambda-subminute.LambdaSubminute.isConstruct.parameter.x"></a>
|
216
|
+
|
217
|
+
- *Type:* any
|
218
|
+
|
219
|
+
Any object.
|
220
|
+
|
221
|
+
---
|
222
|
+
|
223
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
224
|
+
|
225
|
+
| **Name** | **Type** | **Description** |
|
226
|
+
| --- | --- | --- |
|
227
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
228
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.property.iteratorFunction">iteratorFunction</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | The Lambda function that plays the role of the iterator. |
|
229
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminute.property.stateMachineArn">stateMachineArn</a></code> | <code>string</code> | The ARN of the state machine that executes the target Lambda function per time unit less than one minute. |
|
230
|
+
|
231
|
+
---
|
232
|
+
|
233
|
+
##### `node`<sup>Required</sup> <a name="node" id="cdk-lambda-subminute.LambdaSubminute.property.node"></a>
|
234
|
+
|
235
|
+
```typescript
|
236
|
+
public readonly node: Node;
|
237
|
+
```
|
238
|
+
|
239
|
+
- *Type:* constructs.Node
|
240
|
+
|
241
|
+
The tree node.
|
77
242
|
|
243
|
+
---
|
78
244
|
|
245
|
+
##### `iteratorFunction`<sup>Required</sup> <a name="iteratorFunction" id="cdk-lambda-subminute.LambdaSubminute.property.iteratorFunction"></a>
|
79
246
|
|
80
|
-
|
247
|
+
```typescript
|
248
|
+
public readonly iteratorFunction: IFunction;
|
249
|
+
```
|
81
250
|
|
251
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
82
252
|
|
83
|
-
|
84
|
-
-----|------|-------------
|
85
|
-
**iteratorFunction** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | The Lambda function that plays the role of the iterator.
|
86
|
-
**stateMachineArn** | <code>string</code> | The ARN of the state machine that executes the target Lambda function per time unit less than one minute.
|
253
|
+
The Lambda function that plays the role of the iterator.
|
87
254
|
|
255
|
+
---
|
88
256
|
|
257
|
+
##### `stateMachineArn`<sup>Required</sup> <a name="stateMachineArn" id="cdk-lambda-subminute.LambdaSubminute.property.stateMachineArn"></a>
|
89
258
|
|
90
|
-
|
259
|
+
```typescript
|
260
|
+
public readonly stateMachineArn: string;
|
261
|
+
```
|
91
262
|
|
263
|
+
- *Type:* string
|
92
264
|
|
265
|
+
The ARN of the state machine that executes the target Lambda function per time unit less than one minute.
|
93
266
|
|
94
|
-
|
95
|
-
__Extends__: [Construct](#constructs-construct)
|
267
|
+
---
|
96
268
|
|
97
|
-
### Initializer
|
98
269
|
|
270
|
+
### SubminuteStateMachine <a name="SubminuteStateMachine" id="cdk-lambda-subminute.SubminuteStateMachine"></a>
|
99
271
|
|
272
|
+
#### Initializers <a name="Initializers" id="cdk-lambda-subminute.SubminuteStateMachine.Initializer"></a>
|
100
273
|
|
274
|
+
```typescript
|
275
|
+
import { SubminuteStateMachine } from 'cdk-lambda-subminute'
|
101
276
|
|
102
|
-
```ts
|
103
277
|
new SubminuteStateMachine(scope: Construct, id: string, props: SubminuteStateMachineProps)
|
104
278
|
```
|
105
279
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
* **targetFunction** (<code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code>) the Lambda function that executes your intention.
|
280
|
+
| **Name** | **Type** | **Description** |
|
281
|
+
| --- | --- | --- |
|
282
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
283
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
284
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.props">props</a></code> | <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps">SubminuteStateMachineProps</a></code> | *No description.* |
|
285
|
+
|
286
|
+
---
|
114
287
|
|
288
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.scope"></a>
|
115
289
|
|
290
|
+
- *Type:* constructs.Construct
|
116
291
|
|
117
|
-
|
292
|
+
---
|
118
293
|
|
294
|
+
##### `id`<sup>Required</sup> <a name="id" id="cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.id"></a>
|
119
295
|
|
120
|
-
|
121
|
-
-----|------|-------------
|
122
|
-
**stateMachine** | <code>[aws_stepfunctions.StateMachine](#aws-cdk-lib-aws-stepfunctions-statemachine)</code> | <span></span>
|
296
|
+
- *Type:* string
|
123
297
|
|
298
|
+
---
|
124
299
|
|
300
|
+
##### `props`<sup>Required</sup> <a name="props" id="cdk-lambda-subminute.SubminuteStateMachine.Initializer.parameter.props"></a>
|
125
301
|
|
126
|
-
|
302
|
+
- *Type:* <a href="#cdk-lambda-subminute.SubminuteStateMachineProps">SubminuteStateMachineProps</a>
|
127
303
|
|
304
|
+
---
|
128
305
|
|
306
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
129
307
|
|
308
|
+
| **Name** | **Description** |
|
309
|
+
| --- | --- |
|
310
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.toString">toString</a></code> | Returns a string representation of this construct. |
|
130
311
|
|
312
|
+
---
|
131
313
|
|
314
|
+
##### `toString` <a name="toString" id="cdk-lambda-subminute.SubminuteStateMachine.toString"></a>
|
132
315
|
|
133
|
-
|
134
|
-
|
135
|
-
|
316
|
+
```typescript
|
317
|
+
public toString(): string
|
318
|
+
```
|
136
319
|
|
320
|
+
Returns a string representation of this construct.
|
137
321
|
|
322
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
138
323
|
|
139
|
-
|
324
|
+
| **Name** | **Description** |
|
325
|
+
| --- | --- |
|
326
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
327
|
+
|
328
|
+
---
|
329
|
+
|
330
|
+
##### `isConstruct` <a name="isConstruct" id="cdk-lambda-subminute.SubminuteStateMachine.isConstruct"></a>
|
331
|
+
|
332
|
+
```typescript
|
333
|
+
import { SubminuteStateMachine } from 'cdk-lambda-subminute'
|
334
|
+
|
335
|
+
SubminuteStateMachine.isConstruct(x: any)
|
336
|
+
```
|
140
337
|
|
338
|
+
Checks if `x` is a construct.
|
141
339
|
|
340
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
341
|
+
instances, even when the construct library is symlinked.
|
142
342
|
|
343
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
344
|
+
disk are seen as independent, completely different libraries. As a
|
345
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
346
|
+
is seen as a different class, and an instance of one class will not test as
|
347
|
+
`instanceof` the other class. `npm install` will not create installations
|
348
|
+
like this, but users may manually symlink construct libraries together or
|
349
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
350
|
+
library can be accidentally installed, and `instanceof` will behave
|
351
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
352
|
+
this type-testing method instead.
|
143
353
|
|
354
|
+
###### `x`<sup>Required</sup> <a name="x" id="cdk-lambda-subminute.SubminuteStateMachine.isConstruct.parameter.x"></a>
|
144
355
|
|
356
|
+
- *Type:* any
|
145
357
|
|
146
|
-
|
147
|
-
-----|------|-------------
|
148
|
-
**targetFunction** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | The Lambda function that is going to be executed per time unit less than one minute.
|
149
|
-
**cronjobExpression**? | <code>string</code> | A pattern you want this statemachine to be executed.<br/>__*Default*__: cron(50/1 15-17 ? * * *) UTC+0 being run every minute starting from 15:00 PM to 17:00 PM.
|
150
|
-
**frequency**? | <code>number</code> | How many times you intent to execute in a minute.<br/>__*Default*__: 6
|
151
|
-
**intervalTime**? | <code>number</code> | Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute.<br/>__*Default*__: 10
|
358
|
+
Any object.
|
152
359
|
|
360
|
+
---
|
153
361
|
|
362
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
154
363
|
|
155
|
-
|
364
|
+
| **Name** | **Type** | **Description** |
|
365
|
+
| --- | --- | --- |
|
366
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
367
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachine.property.stateMachine">stateMachine</a></code> | <code>aws-cdk-lib.aws_stepfunctions.StateMachine</code> | *No description.* |
|
368
|
+
|
369
|
+
---
|
370
|
+
|
371
|
+
##### `node`<sup>Required</sup> <a name="node" id="cdk-lambda-subminute.SubminuteStateMachine.property.node"></a>
|
372
|
+
|
373
|
+
```typescript
|
374
|
+
public readonly node: Node;
|
375
|
+
```
|
376
|
+
|
377
|
+
- *Type:* constructs.Node
|
378
|
+
|
379
|
+
The tree node.
|
380
|
+
|
381
|
+
---
|
382
|
+
|
383
|
+
##### `stateMachine`<sup>Required</sup> <a name="stateMachine" id="cdk-lambda-subminute.SubminuteStateMachine.property.stateMachine"></a>
|
384
|
+
|
385
|
+
```typescript
|
386
|
+
public readonly stateMachine: StateMachine;
|
387
|
+
```
|
156
388
|
|
389
|
+
- *Type:* aws-cdk-lib.aws_stepfunctions.StateMachine
|
157
390
|
|
391
|
+
---
|
158
392
|
|
159
393
|
|
394
|
+
## Structs <a name="Structs" id="Structs"></a>
|
395
|
+
|
396
|
+
### IteratorLambdaProps <a name="IteratorLambdaProps" id="cdk-lambda-subminute.IteratorLambdaProps"></a>
|
397
|
+
|
398
|
+
#### Initializer <a name="Initializer" id="cdk-lambda-subminute.IteratorLambdaProps.Initializer"></a>
|
399
|
+
|
400
|
+
```typescript
|
401
|
+
import { IteratorLambdaProps } from 'cdk-lambda-subminute'
|
402
|
+
|
403
|
+
const iteratorLambdaProps: IteratorLambdaProps = { ... }
|
404
|
+
```
|
405
|
+
|
406
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
407
|
+
|
408
|
+
| **Name** | **Type** | **Description** |
|
409
|
+
| --- | --- | --- |
|
410
|
+
| <code><a href="#cdk-lambda-subminute.IteratorLambdaProps.property.targetFunction">targetFunction</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | The Lambda function that is going to be executed per time unit less than one minute. |
|
411
|
+
|
412
|
+
---
|
413
|
+
|
414
|
+
##### `targetFunction`<sup>Required</sup> <a name="targetFunction" id="cdk-lambda-subminute.IteratorLambdaProps.property.targetFunction"></a>
|
415
|
+
|
416
|
+
```typescript
|
417
|
+
public readonly targetFunction: IFunction;
|
418
|
+
```
|
419
|
+
|
420
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
421
|
+
|
422
|
+
The Lambda function that is going to be executed per time unit less than one minute.
|
423
|
+
|
424
|
+
---
|
425
|
+
|
426
|
+
### LambdaSubminuteProps <a name="LambdaSubminuteProps" id="cdk-lambda-subminute.LambdaSubminuteProps"></a>
|
427
|
+
|
428
|
+
#### Initializer <a name="Initializer" id="cdk-lambda-subminute.LambdaSubminuteProps.Initializer"></a>
|
429
|
+
|
430
|
+
```typescript
|
431
|
+
import { LambdaSubminuteProps } from 'cdk-lambda-subminute'
|
432
|
+
|
433
|
+
const lambdaSubminuteProps: LambdaSubminuteProps = { ... }
|
434
|
+
```
|
435
|
+
|
436
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
437
|
+
|
438
|
+
| **Name** | **Type** | **Description** |
|
439
|
+
| --- | --- | --- |
|
440
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminuteProps.property.targetFunction">targetFunction</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | The Lambda function that is going to be executed per time unit less than one minute. |
|
441
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminuteProps.property.cronjobExpression">cronjobExpression</a></code> | <code>string</code> | A pattern you want this statemachine to be executed. |
|
442
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminuteProps.property.frequency">frequency</a></code> | <code>number</code> | How many times you intent to execute in a minute. |
|
443
|
+
| <code><a href="#cdk-lambda-subminute.LambdaSubminuteProps.property.intervalTime">intervalTime</a></code> | <code>number</code> | Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute. |
|
444
|
+
|
445
|
+
---
|
446
|
+
|
447
|
+
##### `targetFunction`<sup>Required</sup> <a name="targetFunction" id="cdk-lambda-subminute.LambdaSubminuteProps.property.targetFunction"></a>
|
448
|
+
|
449
|
+
```typescript
|
450
|
+
public readonly targetFunction: IFunction;
|
451
|
+
```
|
452
|
+
|
453
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
454
|
+
|
455
|
+
The Lambda function that is going to be executed per time unit less than one minute.
|
456
|
+
|
457
|
+
---
|
458
|
+
|
459
|
+
##### `cronjobExpression`<sup>Optional</sup> <a name="cronjobExpression" id="cdk-lambda-subminute.LambdaSubminuteProps.property.cronjobExpression"></a>
|
460
|
+
|
461
|
+
```typescript
|
462
|
+
public readonly cronjobExpression: string;
|
463
|
+
```
|
464
|
+
|
465
|
+
- *Type:* string
|
466
|
+
- *Default:* cron(50/1 15-17 ? * * *) UTC+0 being run every minute starting from 15:00 PM to 17:00 PM.
|
467
|
+
|
468
|
+
A pattern you want this statemachine to be executed.
|
469
|
+
|
470
|
+
> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html)
|
471
|
+
|
472
|
+
---
|
473
|
+
|
474
|
+
##### `frequency`<sup>Optional</sup> <a name="frequency" id="cdk-lambda-subminute.LambdaSubminuteProps.property.frequency"></a>
|
475
|
+
|
476
|
+
```typescript
|
477
|
+
public readonly frequency: number;
|
478
|
+
```
|
479
|
+
|
480
|
+
- *Type:* number
|
481
|
+
- *Default:* 6
|
482
|
+
|
483
|
+
How many times you intent to execute in a minute.
|
484
|
+
|
485
|
+
---
|
486
|
+
|
487
|
+
##### `intervalTime`<sup>Optional</sup> <a name="intervalTime" id="cdk-lambda-subminute.LambdaSubminuteProps.property.intervalTime"></a>
|
488
|
+
|
489
|
+
```typescript
|
490
|
+
public readonly intervalTime: number;
|
491
|
+
```
|
492
|
+
|
493
|
+
- *Type:* number
|
494
|
+
- *Default:* 10
|
495
|
+
|
496
|
+
Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute.
|
497
|
+
|
498
|
+
---
|
499
|
+
|
500
|
+
### SubminuteStateMachineProps <a name="SubminuteStateMachineProps" id="cdk-lambda-subminute.SubminuteStateMachineProps"></a>
|
501
|
+
|
502
|
+
#### Initializer <a name="Initializer" id="cdk-lambda-subminute.SubminuteStateMachineProps.Initializer"></a>
|
503
|
+
|
504
|
+
```typescript
|
505
|
+
import { SubminuteStateMachineProps } from 'cdk-lambda-subminute'
|
506
|
+
|
507
|
+
const subminuteStateMachineProps: SubminuteStateMachineProps = { ... }
|
508
|
+
```
|
509
|
+
|
510
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
511
|
+
|
512
|
+
| **Name** | **Type** | **Description** |
|
513
|
+
| --- | --- | --- |
|
514
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps.property.frequency">frequency</a></code> | <code>number</code> | How many times you intent to execute in a minute. |
|
515
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps.property.intervalTime">intervalTime</a></code> | <code>number</code> | Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute. |
|
516
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps.property.iteratorFunction">iteratorFunction</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | the iterator Lambda function for the target Lambda function. |
|
517
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps.property.stateMachineName">stateMachineName</a></code> | <code>string</code> | the name of the state machine. |
|
518
|
+
| <code><a href="#cdk-lambda-subminute.SubminuteStateMachineProps.property.targetFunction">targetFunction</a></code> | <code>aws-cdk-lib.aws_lambda.IFunction</code> | the Lambda function that executes your intention. |
|
519
|
+
|
520
|
+
---
|
521
|
+
|
522
|
+
##### `frequency`<sup>Required</sup> <a name="frequency" id="cdk-lambda-subminute.SubminuteStateMachineProps.property.frequency"></a>
|
523
|
+
|
524
|
+
```typescript
|
525
|
+
public readonly frequency: number;
|
526
|
+
```
|
527
|
+
|
528
|
+
- *Type:* number
|
529
|
+
- *Default:* 6
|
530
|
+
|
531
|
+
How many times you intent to execute in a minute.
|
532
|
+
|
533
|
+
---
|
534
|
+
|
535
|
+
##### `intervalTime`<sup>Required</sup> <a name="intervalTime" id="cdk-lambda-subminute.SubminuteStateMachineProps.property.intervalTime"></a>
|
536
|
+
|
537
|
+
```typescript
|
538
|
+
public readonly intervalTime: number;
|
539
|
+
```
|
540
|
+
|
541
|
+
- *Type:* number
|
542
|
+
- *Default:* 10
|
543
|
+
|
544
|
+
Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute.
|
545
|
+
|
546
|
+
---
|
547
|
+
|
548
|
+
##### `iteratorFunction`<sup>Required</sup> <a name="iteratorFunction" id="cdk-lambda-subminute.SubminuteStateMachineProps.property.iteratorFunction"></a>
|
549
|
+
|
550
|
+
```typescript
|
551
|
+
public readonly iteratorFunction: IFunction;
|
552
|
+
```
|
553
|
+
|
554
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
555
|
+
|
556
|
+
the iterator Lambda function for the target Lambda function.
|
557
|
+
|
558
|
+
---
|
559
|
+
|
560
|
+
##### `stateMachineName`<sup>Required</sup> <a name="stateMachineName" id="cdk-lambda-subminute.SubminuteStateMachineProps.property.stateMachineName"></a>
|
561
|
+
|
562
|
+
```typescript
|
563
|
+
public readonly stateMachineName: string;
|
564
|
+
```
|
565
|
+
|
566
|
+
- *Type:* string
|
567
|
+
|
568
|
+
the name of the state machine.
|
569
|
+
|
570
|
+
---
|
571
|
+
|
572
|
+
##### `targetFunction`<sup>Required</sup> <a name="targetFunction" id="cdk-lambda-subminute.SubminuteStateMachineProps.property.targetFunction"></a>
|
573
|
+
|
574
|
+
```typescript
|
575
|
+
public readonly targetFunction: IFunction;
|
576
|
+
```
|
577
|
+
|
578
|
+
- *Type:* aws-cdk-lib.aws_lambda.IFunction
|
160
579
|
|
580
|
+
the Lambda function that executes your intention.
|
161
581
|
|
162
|
-
|
163
|
-
-----|------|-------------
|
164
|
-
**frequency** | <code>number</code> | How many times you intent to execute in a minute.
|
165
|
-
**intervalTime** | <code>number</code> | Seconds for an interval, the product of `frequency` and `intervalTime` should be approximagely 1 minute.
|
166
|
-
**iteratorFunction** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | the iterator Lambda function for the target Lambda function.
|
167
|
-
**stateMachineName** | <code>string</code> | the name of the state machine.
|
168
|
-
**targetFunction** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | the Lambda function that executes your intention.
|
582
|
+
---
|
169
583
|
|
170
584
|
|
171
585
|
|