-
Notifications
You must be signed in to change notification settings - Fork 1
/
cdk.json
47 lines (47 loc) · 1.12 KB
/
cdk.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
{
"app": "npx ts-node --prefer-ts-exts src/coder-api.ts",
"watch": {
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"yarn.lock",
"node_modules",
"test"
]
},
"context": {
"api-gateway-config": {
"postalcode": {
"arn": "arn:aws:lambda:us-east-1:594172205456:function:CoderApiStack-postalCodeFunction",
"integrationType": "AWS_PROXY",
"resources": [
{
"uri": "postalcode",
"proxy": true,
"anyMethodOptions": {
"authorizationType": "NONE",
"requestParameters": {
"method.request.header.Authorization": true
}
},
"proxyMethodOptions": {
"authorizationType": "NONE",
"requestParameters": {
"method.request.path.proxy": true,
"method.request.header.Authorization": true
}
}
}
]
}
}
}
}