-
Notifications
You must be signed in to change notification settings - Fork 12
/
awsm.json
60 lines (59 loc) · 1.56 KB
/
awsm.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
/*
* awsm.json
* - This file shows ALL properties available for awsm.json files located at the root of a lambda subfolder
*/
{
"lambda": {
"envVars": ["string"],
"package": {
"optimize": {
"builder": "browserify",
"minify": true,
"ignore": [],
"exclude": [
"aws-sdk"
],
"includePaths": []
},
"excludePatterns": [
"lambdas/[u].*",
"lambdas/bundle/b.*"
]
},
"cloudFormation": {
"Description": "lambda function description",
"Handler": "aws_modules/resource/action/handler.handler",
"MemorySize": 1024,
"Runtime": "nodejs",
"Timeout": 10
}
},
"apiGateway": {
"cloudFormation": {
"Type": "AWS",
"Path": "resource/action",
"Method": "POST",
"AuthorizationType": "none",
"ApiKeyRequired": false,
"RequestTemplates": {
"application/json": "{\"access_token\":\"$input.params('access_token')\",\"body\":\"$input.json('$')\"}"
},
"RequestParameters": {
"integration.request.querystring.integrationQueryParam": "method.request.querystring.access_token"
},
"CacheNamespace": "String",
"CacheKeyParameters": [],
"Responses": {
"default": {
"statusCode": "200",
"responseParameters": {
"method.response.header.test-method-response-header": "integration.response.header.integrationResponseHeaderParam1"
},
"responseTemplates": {
"application/json": {}
}
}
}
}
}
}