gpt4 book ai didi

aws-cloudformation - 来自 Cloudformation/serverless 的 AWS SES 模板

转载 作者:行者123 更新时间:2023-12-03 07:14:42 26 4
gpt4 key购买 nike

我正在使用serverless framework部署我的 AWS 堆栈,并且我正在尝试将 AWS SES 模板添加到我的资源中。

但是,我不断从 CloudFormation 获取 AWS::SES::Template 的“无法识别的类型”。

这绝对是defined CloudFormation resource type ,所以我不知道发生了什么。我见过描述 SES 模板的相同片段,据说可以工作,但对我来说却不起作用。有什么想法可能导致这种情况吗?

我的 serverless.yml 中的部分如下所示:

resources:
Resources:
EmailNotificationTemplate:
Type: AWS::SES::Template
Properties:
Template:
TemplateName: "test"
TextPart: "body text"
SubjectPart: "subject"

最佳答案

事实证明,这是由于 SES 在我使用的区域不可用。如果出现诸如“区域不支持的类型”之类的错误消息肯定会很好,但会引发通用的“无法识别的类型”。

关于aws-cloudformation - 来自 Cloudformation/serverless 的 AWS SES 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52900200/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com