Skip to content

Conversation

@naaa760
Copy link

@naaa760 naaa760 commented Feb 3, 2026

Title: Configurable timeout for CallAwsServiceCrossRegion Lambda

Issue #

Reason for this change :

  • 30s Lambda timeout is hardcoded; long-running cross-region calls (e.g. large S3 copy) need a configurable timeout.

Description of changes

  • Added optional timeout?: Duration to the task props (default 30s).
  • Wired it through to the internal Lambda. No change when not set.
  • New or updated permissions
  • None.

How you validated

  • Unit test: custom timeout (120s) and template check for Lambda Timeout: 120. Existing tests still pass.

Checklist

  • Code adheres to CONTRIBUTING GUIDE and DESIGN GUIDELINES.

@aws-cdk-automation aws-cdk-automation requested a review from a team February 3, 2026 19:01
@github-actions github-actions bot added feature-request A feature should be added or improved. p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Feb 3, 2026
@naaa760 naaa760 changed the title feat(stepfunctions-tasks): add configurable timeout for CallAwsServic… feat(stepfunctions-tasks): add configurable timeout Feb 3, 2026
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter fails with the following errors:

❌ Features must contain a change to a README file.
❌ Features must contain a change to an integration test file and the resulting snapshot.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(stepfunctions_tasks): Setting the timeout on the Lambda function constructed by CallAwsServiceCrossRegion

2 participants