aws / aws/aws-cdk

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

Open
#36,823 3 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-stepfunctions-tasks effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

When using the CallAwsServiceCrossRegion construct, it creates internally Lambda function. I have a use case, where the aws sdk call takes more than 30 seconds, but the timeout is hardcoded to 30 seconds.

### Use Case

Copying a large S3 file from one account to another

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS CDK Library version (aws-cdk-lib)

2.236.0

### AWS CDK CLI version

2.1104.0

### Environment details (OS name and version, etc.)

Linux

Contributor guide

Open the contributing guide

Research direction

Start by locating the CallAwsServiceCrossRegion construct and tracing where its internally created Lambda function receives the hardcoded timeout. Determine how a caller could configure that timeout, then verify the behavior for an AWS SDK call that takes longer than 30 seconds, such as copying a large S3 file across accounts.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.