@gradientedge/cdk-utils 8.103.0 → 8.104.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/dist/src/lib/construct/application-configuration/main.d.ts +0 -1
- package/dist/src/lib/construct/application-configuration/main.js +0 -1
- package/dist/src/lib/services/aws/step-function/main.js +2 -1
- package/package.json +2 -2
- package/src/lib/construct/application-configuration/main.ts +0 -2
- package/src/lib/services/aws/step-function/main.ts +2 -1
|
@@ -29,6 +29,7 @@ const sfn = __importStar(require("aws-cdk-lib/aws-stepfunctions"));
|
|
|
29
29
|
const tasks = __importStar(require("aws-cdk-lib/aws-stepfunctions-tasks"));
|
|
30
30
|
const utils = __importStar(require("../../../utils"));
|
|
31
31
|
const uuid_1 = require("uuid");
|
|
32
|
+
const aws_stepfunctions_1 = require("aws-cdk-lib/aws-stepfunctions");
|
|
32
33
|
const DEFAULT_RETRY_CONFIG = [
|
|
33
34
|
{
|
|
34
35
|
backoffRate: 2,
|
|
@@ -424,7 +425,7 @@ class SfnManager {
|
|
|
424
425
|
if (!props)
|
|
425
426
|
throw `State Machine props undefined for ${id}`;
|
|
426
427
|
const stateMachine = new sfn.StateMachine(scope, `${id}`, {
|
|
427
|
-
definition,
|
|
428
|
+
definitionBody: aws_stepfunctions_1.DefinitionBody.fromChainable(definition),
|
|
428
429
|
logs: {
|
|
429
430
|
destination: logGroup,
|
|
430
431
|
includeExecutionData: props.logs?.includeExecutionData ?? true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.104.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/uuid": "^9.0.2",
|
|
55
55
|
"app-root-path": "^3.1.0",
|
|
56
56
|
"aws-cdk-lib": "^2.85.0",
|
|
57
|
-
"constructs": "^10.2.
|
|
57
|
+
"constructs": "^10.2.61",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
59
59
|
"moment": "^2.29.4",
|
|
60
60
|
"nconf": "^0.12.0",
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
SfnSucceedProps,
|
|
28
28
|
SfnWaitProps,
|
|
29
29
|
} from './types'
|
|
30
|
+
import { DefinitionBody } from 'aws-cdk-lib/aws-stepfunctions'
|
|
30
31
|
|
|
31
32
|
const DEFAULT_RETRY_CONFIG = [
|
|
32
33
|
{
|
|
@@ -510,7 +511,7 @@ export class SfnManager {
|
|
|
510
511
|
) {
|
|
511
512
|
if (!props) throw `State Machine props undefined for ${id}`
|
|
512
513
|
const stateMachine = new sfn.StateMachine(scope, `${id}`, {
|
|
513
|
-
definition,
|
|
514
|
+
definitionBody: DefinitionBody.fromChainable(definition),
|
|
514
515
|
logs: {
|
|
515
516
|
destination: logGroup,
|
|
516
517
|
includeExecutionData: props.logs?.includeExecutionData ?? true,
|