diff --git a/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md b/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md index d291ebf894b4c..de9a864968f86 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md +++ b/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md @@ -258,6 +258,15 @@ const startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Start }, }); ``` +Alternatively, we could also use the following for `outputLocation` +``` +resultConfiguration: { + outputLocation: sfn.JsonPath.format( + 's3://query-results-bucket/folder/{}', + sfn.JsonPath.format('$.folder'), + ) +} +``` ### GetQueryExecution