Skip to content

Commit

Permalink
docs(stepfunctions-tasks): EvaluateExpression only supports NODEJS_10…
Browse files Browse the repository at this point in the history
…_X (aws#13227)

### Description
This PR documents only NODEJS_10_X for EvaluateExpression. It was mistakenly changed to NODEJS_12_X in bulk PR aws#12807

Issue which requests supports NODEJS_12_X version by default in EvaluateExpression aws#13224

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
trivikr authored Feb 23, 2021
1 parent 18184df commit 703b39a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-stepfunctions-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ const convertToSeconds = new tasks.EvaluateExpression(this, 'Convert to seconds'

const createMessage = new tasks.EvaluateExpression(this, 'Create message', {
// Note: this is a string inside a string.
expression: '`Now waiting ${$.waitSeconds} seconds...`',
runtime: lambda.Runtime.NODEJS_12_X,
expression: '`Now waiting ${$.waitSeconds} seconds...`',
runtime: lambda.Runtime.NODEJS_10_X,
resultPath: '$.message',
});

Expand All @@ -213,7 +213,7 @@ new sfn.StateMachine(this, 'StateMachine', {

The `EvaluateExpression` supports a `runtime` prop to specify the Lambda
runtime to use to evaluate the expression. Currently, the only runtime
supported is `lambda.Runtime.NODEJS_12_X`.
supported is `lambda.Runtime.NODEJS_10_X`.


## Athena
Expand Down

0 comments on commit 703b39a

Please sign in to comment.