aws / aws/aws-cdk

ses_actions: workmail integration action missing

Open
#24,634 1 comment 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-ses-actions 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

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.