【发布时间】:2019-02-10 14:09:05
【问题描述】:
我正在尝试部署我的 AWS Cloudformation - AWS 无服务器应用程序模型,但我找不到如何在我的 SAM 文件中配置我的 Alexa Skills Kit ID 和我的 Alexa Smart Home。
这是我从我的 Lamda 控制台中的导出操作中获得的 .yaml 文件:
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: An AWS Serverless Specification template describing your function.
Resources:
endesaES:
Type: 'AWS::Serverless::Function'
Properties:
Handler: index.handler
Runtime: nodejs8.10
CodeUri: .
Code: '../myCode'
Description: ''
MemorySize: 256
Timeout: 90
Role: 'myRole/lambda_basic_execution'
Events:
AlexaSkillEvent:
Type: AlexaSkill
但是没有显示我的 Alexa 技能 ID 的代码,我一切正常,我已经在网络中配置了 ID,如图所示,我的 Alexa 技能测试工作正常。
有人可以帮助我提供可以指导我正确方向的信息或链接吗?
提前致谢。
编码愉快。
【问题讨论】:
-
SAM好像还不支持这个功能。 (github.com/awslabs/serverless-application-model/issues/158)
-
@MaiKaY 感谢您的回复。
标签: amazon-web-services yaml amazon-cloudformation