aws / aws/aws-cdk

(aws-stepfunctions-tasks): Add support for DynamoDBStream getShardIterator and getRecords actions

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

Description

### Describe the feature

Step Functions support `arn:aws:states:::aws-sdk:dynamodbstreams:getShardIterator` and `arn:aws:states:::aws-sdk:dynamodbstreams:getRecords` resource types now. Please add CDK support for it.

### Use Case

I would like to be able to use L2 CDK constructs for all tasks, and GetShardIterator and GetRecords APIs for DynamoDB streams are currently missing

### Proposed Solution

Create new `DynamoDBStreamGetShardIterator` and `DynamoDBStreamGetRecords` classes that will implement `arn:aws:states:::aws-sdk:dynamodbstreams:getShardIterator` and `arn:aws:states:::aws-sdk:dynamodbstreams:getRecords` resources respectively.

Currently, the workaround is to use CustomState

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2.59.0

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

N/A

Contributor guide

Open the contributing guide

Research direction

Start in the aws-stepfunctions-tasks implementations and compare existing AWS SDK task classes for analogous actions. Done means adding DynamoDBStreamGetShardIterator and DynamoDBStreamGetRecords L2 constructs that use the two specified DynamoDB Streams resource types, removing the need for CustomState.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.