forked from Miserlou/Zappa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_settings.json
124 lines (124 loc) · 3.52 KB
/
test_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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"ttt888": {
"touch": false,
"s3_bucket": "lmbda",
"app_function": "tests.test_app.hello_world",
"use_precompiled_packages": false,
"callbacks": {
"settings": "tests.test_app.callback",
"post": "tests.test_app.callback",
"zip": "test_settings.callback"
},
"delete_local_zip": true,
"debug": true,
"parameter_depth": 2,
"prebuild_script": "tests.test_app.prebuild_me",
"environment_variables": {
"TEST_ENV_VAR": "test_value"
},
"context_header_mappings": {
"CognitoIdentityId": "identity.cognitoIdentityId",
"APIStage": "stage"
},
"events": [
{
"function": "tests.test_app.schedule_me",
"expression": "rate(1 minute)"
},
{
"function": "test.test_app.method",
"event_source": {
"arn": "arn:aws:sns:::1",
"events": [
"sns:Publish"
]
}
},
{
"function": "test.test_app.method_filters",
"event_source": {
"arn": "arn:aws:sns:::with-filters",
"filters": {
"interests": ["python", "aws", "zappa"],
"version": ["1.0"]
},
"events": [
"sns:Publish"
]
}
}
],
"cognito": {
"user_pool": "user-pool-id",
"triggers": [
{"source": "PreSignUp_SignUp",
"function": "test.tasks.pre_signup_function"
}
]
}
},
"devor": {
"s3_bucket": "lmbda",
"app_function": "tests.test_app.hello_world",
"callbacks": {
"settings": "test_settings.callback",
"post": "test_settings.callback",
"zip": "test_settings.callback"
},
"delete_local_zip": true,
"debug": true,
"parameter_depth": 2,
"prebuild_script": "test_settings.prebuild_me",
"events": [{
"function": "tests.test_app.schedule_me",
"expression": "rate(1 minute)"
}]
},
"extendo": {
"extends": "ttt888",
"touch": true,
"prebuild_script": "test_settings.prebuild_me",
"environment_variables": {
"EXTENDO": "You bet"
}
},
"extendo2": {
"extends": "extendo",
"s3_bucket": "lmbda2"
},
"slim_handler": {
"extends": "ttt888",
"slim_handler": true,
"delete_local_zip": true
},
"deprecated_remote_env": {
"s3_bucket": "lmbda",
"remote_env_bucket": "lmbda-env",
"remote_env_file": "dev/env.json"
},
"remote_env": {
"s3_bucket": "lmbda",
"remote_env": "s3://lmbda-env/prod/env.json"
},
"extendofail": {
"extends": "failfail",
"prebuild_script": "test_settings.prebuild_me",
"environment_variables": {
"EXTENDO": "You bet"
}
},
"build_package_only_delete_local_zip_false": {
"delete_local_zip": false,
"use_precompiled_packages": false,
"delete_s3_zip": false
},
"build_package_only_delete_local_zip_true": {
"delete_local_zip": true,
"use_precompiled_packages": false,
"delete_s3_zip": false
},
"lambda_concurrency_enabled": {
"extends": "ttt888",
"lambda_concurrency": 6
}
}