forked from ib-devs/Zappa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zappa_settings.json
52 lines (52 loc) · 1.49 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
{
"dev_event": {
"project_name": "dev_event_zappa_test_flask_app",
"keep_warm": false,
"debug": true,
"log_level": "DEBUG",
"events": [{
"function": "mymodule.myfunc",
"expression": "rate(1 minute)"
}],
"aws_region": "us-west-2",
"s3_bucket": "zappa-81el19pq9-dev-us-west-2",
"lambda_handler": "app.lambda_handler",
"use_apigateway": false,
"http_methods": ["GET"],
"parameter_depth": 1,
"timeout_seconds": 300,
"memory_size": 128,
"use_precompiled_packages": true
},
"dev_api": {
"project_name": "dev_api_zappa_test_flask_app",
"keep_warm": false,
"debug": true,
"log_level": "DEBUG",
"aws_region": "us-west-2",
"s3_bucket": "zappa-81el19pq9-dev-us-west-2",
"app_function": "app.app",
"http_methods": ["GET"],
"parameter_depth": 1,
"timeout_seconds": 300,
"memory_size": 128,
"use_precompiled_packages": true
},
"prod": {
"project_name": "dev_zappa_test_flask_app",
"events": [{
"function": "mymodule.myfunc",
"expression": "rate(5 minutes)"
}],
"authorizer": {
"function": "authmodule.lambda_handler"
},
"aws_region": "us-west-2",
"s3_bucket": "zappa-test-bucket",
"app_function": "app.app",
"http_methods": ["GET"],
"parameter_depth": 1,
"memory_size": 512,
"use_precompiled_packages": true
}
}