-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
executable file
·52 lines (48 loc) · 1.34 KB
/
template.yaml
File metadata and controls
executable file
·52 lines (48 loc) · 1.34 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
AWSTemplateFormatVersion: 2010-09-09
Description: >-
root-access-aws
Transform:
- AWS::Serverless-2016-10-31
Resources:
SNSNylasMessage:
Type: AWS::Serverless::Function
Properties:
Description: A Lambda function that handles the delivery of a new Nylas message.
Runtime: nodejs14.x
Architectures:
- x86_64
Handler: src/handlers/sns-nylas-message.snsNylasMessageHandler
Events:
SNSTopicEvent:
Type: SNS
Properties:
Topic: arn:aws:sns:us-east-1:630351220487:nylas-streams
MemorySize: 128
Timeout: 100
Policies:
- AWSLambdaBasicExecutionRole
- AmazonSNSReadOnlyAccess
- SecretsManagerReadWrite
ClearbitEnrichmentsJob:
Type: AWS::Serverless::Function
Properties:
Description: A Lambda function that queries Clearbit Enrichments API.
Runtime: nodejs14.x
Architectures:
- x86_64
Handler: src/jobs/clearbit-enrichments-job.clearbitEnrichmentsJob
Events:
SNSTopicEvent:
Type: SNS
Properties:
Topic: arn:aws:sns:us-east-1:630351220487:nylas-streams
MemorySize: 128
Timeout: 100
Policies:
- AWSLambdaBasicExecutionRole
- SecretsManagerReadWrite
Globals:
Function:
Environment:
Variables:
TABLE_PREFIX: ''