(s3-notifications): add a StateMachine source
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Description
Add a StateMachine event source to s3 event notifications.
### Use Case
In order for an s3 event to hit the step function /state machine, you need to be able to set the event source. Currently only SQS, SNS and lambda are supported.
### Proposed Solution
Add new bucket event type:
bucket.addEventNotification(
EventType.OBJECT_CREATED,
new StateMachineDestination(this.stateMachine)
);
### Other information
_No response_
### Acknowledge
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
Contributor guide
Research direction
Start at the bucket.addEventNotification entry point and inspect the existing SQS, SNS, and Lambda destinations, along with EventType.OBJECT_CREATED. Add StateMachineDestination support for the state machine target and verify that an S3 notification can be configured for it without breaking the existing destinations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100