-
Hello, can someone help me with getting this SES configuration working? I am trying to closely follow the documentation but
I do not understand this error message, as AWS::SES::ReceiptRule and AWS::SES::ReceiptRuleSet should be valid ressource types in the region that I am deploying to (eu-central-1). Here is a minimized example from my code. It is very similar to the documentation: from aws_cdk import (
aws_s3 as s3,
aws_ses as ses,
aws_ses_actions as actions,
aws_sns as sns,
core
)
class SomeStack(core.Stack):
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)
self.bucket = s3.Bucket(self, "SomeBucket")
self.topic = sns.Topic(self, "SomeTopic")
# [...]
ses.ReceiptRuleSet(
self,
"ReceiptRuleSet",
rules=[
ses.ReceiptRuleOptions(
enabled=True,
recipients=["[email protected]"],
actions=[
actions.S3(
bucket=self.bucket,
object_key_prefix="email/",
topic=self.topic,
),
],
)
],
) The IDE and also checking type hints with mypy shows that something is amiss:
Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Resolved this following four steps:
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Resolved this following four steps: