【发布时间】:2019-03-24 19:23:48
【问题描述】:
我正在使用 serverless framework 来部署我的 AWS 堆栈,并且我正在尝试将 AWS SES 模板添加到我的资源中。
但是,我不断从 CloudFormation 收到 AWS::SES::Template 的“无法识别的类型”。
这绝对是defined CloudFormation resource type,所以我不知道发生了什么。我已经看到描述 SES 模板的相同 sn-ps 据说可以工作,但对我来说不是。有什么想法可能导致这种情况吗?
我的serverless.yml 中的部分如下所示:
resources:
Resources:
EmailNotificationTemplate:
Type: AWS::SES::Template
Properties:
Template:
TemplateName: "test"
TextPart: "body text"
SubjectPart: "subject"
【问题讨论】:
标签: amazon-cloudformation amazon-ses serverless-framework