You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-ses-actions/test/integ.actions.js.snapshot/aws-cdk-ses-receipt.template.json
Copy file name to clipboardExpand all lines: packages/aws-cdk-lib/aws-ses/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,12 @@ new ses.AllowListReceiptFilter(this, 'AllowList', {
103
103
104
104
This will first create a block all filter and then create allow filters for the listed ip addresses.
105
105
106
+
### AWS Service Principal permissions
107
+
108
+
When adding an s3 action to a receipt rule, the CDK will automatically create a policy statement that allows the ses service principal to get write access to the bucket. This is done with the `SourceAccount` condition key, which is automatically added to the policy statement.
109
+
Previously, the policy used the `Referer` condition key, which caused confused deputy problems when the bucket policy allowed access to the bucket for all principals.
110
+
See more information in [this github issue](https://github.com/aws/aws-cdk/issues/29811)
0 commit comments