Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-stepfunctions: DistrbituedMap itemReader get bucket and key at runtime from state input #29136

Open
1 of 2 tasks
tonerm43 opened this issue Feb 16, 2024 · 3 comments
Open
1 of 2 tasks
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3

Comments

@tonerm43
Copy link

Describe the feature

When creating a DistributedMap in the console, I can get the bucket and key from state input at runtime.

Currently in the CDK implementation, I can only use a static bucket and key.

Use Case

My step function sends bucket and key as input to a distributed map

Proposed Solution

No response

Other Information

You can use CustomState as a workaround:

ItemReader: {
  Parameters: {
    'Bucket.$': '$.bucket',
    'Key.$': '$.key'
  }
}

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

1.128.0

Environment details (OS name and version, etc.)

4.14, Amazon Linux 2, x86_64

@tonerm43 tonerm43 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2024
@github-actions github-actions bot added the @aws-cdk/aws-stepfunctions Related to AWS StepFunctions label Feb 16, 2024
@pahud
Copy link
Contributor

pahud commented Feb 16, 2024

Thank you and we will be happy to review the PR to move this forward.

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2024
@nguyentoanit
Copy link

Any updates on this issue?

@ot-brad-steiner
Copy link

I also need this functionality

@pahud pahud added p3 and removed p2 labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3
Projects
None yet
Development

No branches or pull requests

4 participants