-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yml
37 lines (35 loc) · 943 Bytes
/
template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
AWSTemplateFormatVersion: 2010-09-09
Transform:
- AWS::Serverless-2016-10-31
Resources:
AlexaSkillFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs6.10
Timeout: 300
Environment:
Variables:
ALEXA_APP_ID: !Ref ParamAlexaAppId
TWITTER_CONSUMER_KEY: !Ref ParamTwitterConsumerKey
TWITTER_API_SECRET: !Ref ParamTwitterApiSecret
RESTAPI_ID: !Ref ParamRestApiId
RESTAPI_REGION: !Ref ParamRestApiRegion
RESTAPI_STAGE: !Ref ParamRestApiStage
OVERRIDE_RESTAPI_URI: override_restapi_uri
Events:
AlexaSkillEvent:
Type: AlexaSkill
Parameters:
ParamAlexaAppId:
Type: String
ParamTwitterConsumerKey:
Type: String
ParamTwitterApiSecret:
Type: String
ParamRestApiId:
Type: String
ParamRestApiRegion:
Type: String
ParamRestApiStage:
Type: String