-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzappa_settings.json
62 lines (62 loc) · 1.88 KB
/
zappa_settings.json
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
53
54
55
56
57
58
59
60
61
62
{
"ob_scrape_event": {
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "orderbook-scraper",
"runtime": "python3.6",
"s3_bucket": "orderbook-scraper",
"debug": false,
"log_level": "INFO",
"apigateway_enabled": false,
"keep_warm": false,
"timeout_seconds": 900,
"memory_size": 128,
"events": [{
"function": "scraper.scraper",
"expression": "rate(1 minute)"
}],
"lambda_handler": "scraper.scraper",
"aws_environment_variables": {
"ENVIRONMENT": "PRODUCTION",
"DB_REGION": "us-east-1",
"TABLE": "kraken-orderbook"
}
},
"ob_mongo_scrape_event": {
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "ob-mongo-scraper",
"runtime": "python3.6",
"s3_bucket": "orderbook-scraper",
"debug": false,
"log_level": "INFO",
"apigateway_enabled": false,
"keep_warm": false,
"timeout_seconds": 900,
"memory_size": 128,
"lambda_handler": "scraper.scraper"
},
"ob_mongo_iterator": {
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "ob-mongo-iterator",
"runtime": "python3.6",
"s3_bucket": "orderbook-scraper",
"debug": false,
"log_level": "INFO",
"apigateway_enabled": false,
"keep_warm": false,
"timeout_seconds": 900,
"memory_size": 128,
"events": [{
"function": "lambda_iterator.iterator",
"expression": "rate(1 minute)"
}],
"lambda_handler": "lambda_iterator.iterator",
"aws_environment_variables": {
"LAMBDA_TARGET": "ob-mongo-scraper-ob-mongo-scrape-event",
"N_SAMPLES": "6",
"TIMEOUT": "60"
}
}
}