-
Notifications
You must be signed in to change notification settings - Fork 16
/
zappa_settings.json
43 lines (43 loc) 路 1.4 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
{
"production": {
"app_function": "app.app",
"aws_region": "us-east-1",
"profile_name": "default",
"project_name": "pypi-notifier",
"runtime": "python3.9",
"certificate_arn": "arn:aws:acm:us-east-1:821523470585:certificate/6e8726c2-e6ad-41fe-9c52-dfc4617f3224",
"domain": "www.pypi-notifier.org",
"route53_enabled": false,
"s3_bucket": "zappa-x01w7cnk0",
"log_level": "INFO",
"timeout_seconds": 900,
"environment_variables": {
"PYPI_NOTIFIER_CONFIG": "production"
},
"aws_environment_variables": {
"AWS_SYSTEMS_MANAGER_PARAM_STORE_PATH": "/pypi-notifier/production"
},
"extra_permissions": [{
"Effect": "Allow",
"Action": ["ssm:GetParametersByPath"],
"Resource": "arn:aws:ssm:us-east-1:821523470585:parameter/pypi-notifier/*"
}],
"events": [
{
"enabled": true,
"function": "app.update_repos",
"expression": "rate(1 hour)"
},
{
"enabled": true,
"function": "app.update_packages",
"expression": "rate(1 minute)"
},
{
"enabled": true,
"function": "app.send_emails",
"expression": "rate(1 day)"
}
]
}
}