-
Notifications
You must be signed in to change notification settings - Fork 16
/
codehook.yaml
38 lines (36 loc) · 1.19 KB
/
codehook.yaml
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
Description: Demo Code Hook MakeAppointmentIntend in Excel Lex Bot.
Resources:
ApponintmemtFunction:
Type: AWS::Serverless::Function
Properties:
FunctionName: ChatBot_MakeAppointmentIntent
Description: Schedule a dentist appointment, using Amazon Lex to perform natural language understanding
Handler: appointment.lambda_handler
Runtime: python3.6
MemorySize: 512
Timeout: 300
Tracing: Active
Policies:
- AWSXrayWriteOnlyAccess
- AWSLambdaExecute
- AmazonS3ReadOnlyAccess
- AmazonLexRunBotsOnly
CodeUri: codehook/
ApponintmemtBFunction:
Type: AWS::Serverless::Function
Properties:
FunctionName: ChatBotb_MakeAppointmentIntent
Description: Schedule a dentist appointment, using Amazon Lex to perform natural language understanding
Handler: appointment.lambda_handler
Runtime: python3.6
MemorySize: 512
Timeout: 300
Tracing: Active
Policies:
- AWSXrayWriteOnlyAccess
- AWSLambdaExecute
- AmazonS3ReadOnlyAccess
- AmazonLexRunBotsOnly
CodeUri: codehook/