From 921b571e6f7cb62da07e7be0f8955e53254b99b0 Mon Sep 17 00:00:00 2001 From: Vinayak Kukreja Date: Thu, 11 Apr 2024 09:48:27 -0700 Subject: [PATCH] chore(step-function-tasks): add comment that aws-sdk integration pattern is not impacted by sdk upgrade Signed-off-by: Vinayak Kukreja --- .../aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts b/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts index 4ce5714ce1181..f36f49fe501f7 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts +++ b/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/aws-sdk/call-aws-service.ts @@ -118,6 +118,9 @@ export class CallAwsService extends sfn.TaskStateBase { service = service.toLowerCase(); } + // The pattern here is: "arn:aws:states:::aws-sdk:serviceName:apiAction.[serviceIntegrationPattern]" + // See here: https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html + // This does not change with sdk upgrades, TT:P125388388 return { Resource: integrationResourceArn( 'aws-sdk',