aws / aws/aws-cdk

(aws-stepfunctions-tasks): Add support for SQS ReceiveMessage and DeleteMessage tasks

Open
#23,630 2 comments 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:sqs:receiveMessage` and `arn:aws:states:::aws-sdk:sqs:deleteMessage` 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 ReceiveMessage and DeleteMessage APIs for SQS are currently missing

### Proposed Solution

Create new `SqsReceiveMessage` and `SqsDeleteMessage` classes (similar to `SqsSendMessage`), that will implement `arn:aws:states:::aws-sdk:sqs:receiveMessage` and `arn:aws:states:::aws-sdk:sqs:deleteMessage` resources respectively.

Currently the workaround is to use `CustomState` class

### 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

Find the existing SqsSendMessage construct and inspect how it represents Step Functions tasks. Compare that pattern with CustomState, then add SqsReceiveMessage and SqsDeleteMessage support for the two resource ARNs named in the issue. Done means both L2 classes are available and emit the requested ReceiveMessage and DeleteMessage tasks.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.