Skip to content

aws-stepfunctions-tasks: EvaluateExpression Support for NodeJS 22 #35353

@zachaws

Description

@zachaws

Describe the feature

Add support for NodeJS 22 in the EvaluateExpression function. You can currently specify the Lambda Runtime but NodeJS 22 is not supported.

Use Case

Create the Lambda Function with NodeJS 22.

Proposed Solution

No response

Other Information

Error occurs on the synthesis.

UnscopedValidationError: The runtime nodejs22.x is currently not supported.
const replicationEvaluateExpression = new tasks.EvaluateExpression(this, 'replicationEvaluateExpression', {
      expression: '`replicationEvaluateExpression`',
      runtime: lambda.Runtime.NODEJS_22_X,
      resultPath: 'replicationEvaluateExpression'
});

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

aws-cdk-lib@2.205.0

AWS CDK CLI version

2.1021.0

Environment details (OS name and version, etc.)

MacOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions