forked from zappa/Zappa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_settings.json
146 lines (146 loc) · 4.12 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"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,
"ephemeral_storage": {
"Size": 1024
},
"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"
}
},
"invalid_ephemeral_storage_out_of_range": {
"extends": "ttt888",
"ephemeral_storage": {
"Size": 99999
}
},
"invalid_ephemeral_storage_missing_key": {
"extends": "ttt888",
"ephemeral_storage": {
"BadKey": 1024
}
},
"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
},
"addtextmimetypes": {
"s3_bucket": "lmbda",
"app_function": "tests.test_app.hello_world",
"delete_local_zip": true,
"binary_support": true,
"additional_text_mimetypes": ["application/custommimetype"]
}
}