Skip to content

Commit d8b0da7

Browse files
authored
feat(ses): configurationset support default event bus and firehose as destination (#33093)
### Issue # (if applicable) Closes #32835 Closes #30671 ### Reason for this change ConfigurationSet doesn't support EventBridge, Firehose as destination ### Description of changes ConfigurationSet destination support: - Firehose - default EventBus <img width="912" alt="Screenshot 2025-01-23 192024" src="https://github.com/user-attachments/assets/d0e5ee91-ccb4-4cba-89e9-2ac94510536d" /> ### Description of how you validated changes Unit + integration ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 0379878 commit d8b0da7

31 files changed

+64611
-46
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/asset.0620cd173f15e6874350d35d31917579f8488aac349f5c15062107ebca21d5b6.bundle/index.js

+30,628
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/cdk.out

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/integ.json

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/manifest.json

+204
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/ses-configuration-set-event-bus.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"Resources": {
3+
"ConfigurationSet3DD38186": {
4+
"Type": "AWS::SES::ConfigurationSet",
5+
"Properties": {
6+
"DeliveryOptions": {
7+
"MaxDeliverySeconds": 600
8+
}
9+
}
10+
},
11+
"ConfigurationSetEventBridgeABB541C9": {
12+
"Type": "AWS::SES::ConfigurationSetEventDestination",
13+
"Properties": {
14+
"ConfigurationSetName": {
15+
"Ref": "ConfigurationSet3DD38186"
16+
},
17+
"EventDestination": {
18+
"Enabled": true,
19+
"EventBridgeDestination": {
20+
"EventBusArn": {
21+
"Fn::Join": [
22+
"",
23+
[
24+
"arn:",
25+
{
26+
"Ref": "AWS::Partition"
27+
},
28+
":events:",
29+
{
30+
"Ref": "AWS::Region"
31+
},
32+
":",
33+
{
34+
"Ref": "AWS::AccountId"
35+
},
36+
":event-bus/default"
37+
]
38+
]
39+
}
40+
},
41+
"MatchingEventTypes": [
42+
"send",
43+
"reject",
44+
"bounce",
45+
"complaint",
46+
"delivery",
47+
"open",
48+
"click",
49+
"renderingFailure",
50+
"deliveryDelay",
51+
"subscription"
52+
]
53+
}
54+
}
55+
}
56+
},
57+
"Outputs": {
58+
"ExportsOutputRefConfigurationSet3DD381867BBB7945": {
59+
"Value": {
60+
"Ref": "ConfigurationSet3DD38186"
61+
},
62+
"Export": {
63+
"Name": "ses-configuration-set-event-bus:ExportsOutputRefConfigurationSet3DD381867BBB7945"
64+
}
65+
}
66+
},
67+
"Parameters": {
68+
"BootstrapVersion": {
69+
"Type": "AWS::SSM::Parameter::Value<String>",
70+
"Default": "/cdk-bootstrap/hnb659fds/version",
71+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
72+
}
73+
},
74+
"Rules": {
75+
"CheckBootstrapVersion": {
76+
"Assertions": [
77+
{
78+
"Assert": {
79+
"Fn::Not": [
80+
{
81+
"Fn::Contains": [
82+
[
83+
"1",
84+
"2",
85+
"3",
86+
"4",
87+
"5"
88+
],
89+
{
90+
"Ref": "BootstrapVersion"
91+
}
92+
]
93+
}
94+
]
95+
},
96+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
97+
}
98+
]
99+
}
100+
}
101+
}

packages/@aws-cdk-testing/framework-integ/test/aws-ses/test/integ.configuration-set-event-bus.js.snapshot/sesconfigurationseteventbustestDefaultTestDeployAssert4DB105E9.assets.json

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)