ses_actions: workmail integration action missing
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
Implementation of IReceiptRuleAction for Workmail actions that can be used like the follow.
```
const ruleSet = new ReceiptRuleSet();
ruleSet.addRule('MyRule', {
enabled: true,
recipients: [],
actions: [ new WorkmailAction(...) ],
})
```
All other implementations are already there but it looks like workmail was forgotten.
### Use Case
I want to use workmail integrations from ses to automate e.g. e2e tests.
### Proposed Solution
class WorkmailAction implements IReceiptRuleAction {
constructor(private organizationArn: string, private topicArn: string) {}
bind(_: cdk.aws_ses.IReceiptRule): cdk.aws_ses.ReceiptRuleActionConfig {
return {
workmailAction: {
organizationArn: this.organizationArn,
topicArn: this.topicArn,
}
}
}
}
### Other Information
Higher order constructs could also be nice. Somthing like a Default rule Set that automatically integrates with a workmail organization.
### Acknowledgements
- [ ] 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.)
Windows 10, WSL Ubuntu 20.04
Contributor guide
Research direction
Start by comparing the existing SES receipt rule action implementations with the proposed WorkmailAction shape. Confirm the action can be passed to ReceiptRuleSet.addRule and that its configuration contains the organization ARN and topic ARN; done means Workmail integrations can be used from SES rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100