stepfunctions: support dynamic bucket in Map ItemReader #31807
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the feature
Goal is to allow using
JsonPath
for IItemReader properties when defining aMap
.For now, interface IItemReader defines
bucket
field as typeIBucket
.But from a CFN perspective we only need a bucket name.
Using
IBucket
blocks users from usingJsonPath
as dynamic bucket name.Example:
Current CDK implementation
Use Case
Using the provided construct instead of a
CustomState
forDistributedMap
.Proposed Solution
Simply using
string
instead ofIBucket
(possibly accepting both if necessary ?)Other Information
No response
Acknowledgements
CDK version used
2.162.1
Environment details (OS name and version, etc.)
macOS 13.5
The text was updated successfully, but these errors were encountered: