@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.
@@ -20,5 +20,4 @@ export declare class ApplicationConfiguration extends CommonConstruct {
20
20
  protected createAppConfigDeploymentStrategy(): void;
21
21
  protected createAppConfigDeployment(): void;
22
22
  resolveEnvironmentVariables(): any;
23
- protected aaa(): void;
24
23
  }
@@ -93,6 +93,5 @@ class ApplicationConfiguration extends common_1.CommonConstruct {
93
93
  APP_CONFIG_ENVIRONMENT_ID: cdk.Fn.ref(this.appConfigEnvironment.logicalId),
94
94
  };
95
95
  }
96
- aaa() { }
97
96
  }
98
97
  exports.ApplicationConfiguration = ApplicationConfiguration;
@@ -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.103.0",
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.60",
57
+ "constructs": "^10.2.61",
58
58
  "lodash": "^4.17.21",
59
59
  "moment": "^2.29.4",
60
60
  "nconf": "^0.12.0",
@@ -94,6 +94,4 @@ export class ApplicationConfiguration extends CommonConstruct {
94
94
  APP_CONFIG_ENVIRONMENT_ID: cdk.Fn.ref(this.appConfigEnvironment.logicalId),
95
95
  }
96
96
  }
97
-
98
- protected aaa(): void {}
99
97
  }
@@ -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,