aws / aws/aws-cdk

(aws_stepfunctions_tasks ): Allow SqsSendMessage to add attributes of the message

Open
#24,627 2 comments 0 reactions 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

As documented on here https://docs.aws.amazon.com/step-functions/latest/dg/connect-sqs.html there is already suport from aws to send attributes to a queue from a stepfunction task invocation.
Would be very helpful to have this on cdk

### Use Case

We use tracecontext over our logs and we tend to pass this as an attribute when using sqs

### Proposed Solution

Add the parameter as we have with the body

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2.69.0

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

typescript

Contributor guide

Open the contributing guide

Research direction

Start at the SqsSendMessage task entry point in the AWS CDK TypeScript code and compare its current parameters with the AWS Step Functions SQS integration documentation linked in the issue. Trace how the message body is represented and identify the relevant tests before adding support for message attributes. Done means callers can provide attributes that are passed to the queue task invocation and the behavior is covered by tests.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.