-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzappa_settings.json
30 lines (30 loc) · 1018 Bytes
/
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
{
"dev": {
"app_function": "counter_app.init_lambda.app",
"aws_region": "eu-north-1",
"profile_name": "aws-dev",
"project_name": "counter-app",
"runtime": "python3.7",
"s3_bucket": "learn-zappa-serverless",
"environment_variables": {
"AWS_REGION_NAME": "eu-north-1",
"COUNT_VALUE": "0",
"SNS_TOPIC_SEND_COUNTER_VALUE": "arn:aws:sns:eu-north-1:068414940364:Send-CounterValue"
},
"events": [
{
"function": "counter_app.schedulers.schedulers.increment",
"kwargs": {},
"expression": "rate(1 minute)"
},
{
"function": "counter_app.handlers.decrement.decrement_handler",
"event_source": {
"arn": "arn:aws:sqs:eu-north-1:068414940364:CounterValue-Queue",
"batch_size": 1,
"enabled": true
}
}
]
}
}