1 | {
|
2 | "Resources": {
|
3 | "ProxyMethod": {
|
4 | "Type": "AWS::ApiGateway::Method",
|
5 | "Properties": {
|
6 | "AuthorizationType": "NONE",
|
7 | "ResourceId": {
|
8 | "Fn::GetAtt": [
|
9 | "ApiGatewayRestApi",
|
10 | "RootResourceId"
|
11 | ]
|
12 | },
|
13 | "RestApiId": {
|
14 | "Ref": "ApiGatewayRestApi"
|
15 | },
|
16 | "HttpMethod": "GET",
|
17 | "MethodResponses": [
|
18 | {
|
19 | "ResponseParameters": {
|
20 | "method.response.header.Content-Type": "integration.response.header.Content-Type"
|
21 | },
|
22 | "StatusCode": 200
|
23 | }
|
24 | ],
|
25 | "Integration": {
|
26 | "IntegrationHttpMethod": "GET",
|
27 | "Type": "HTTP",
|
28 | "Uri": "https://blinkmobile.github.io/server-cli/root-route.html",
|
29 | "IntegrationResponses": [
|
30 | {
|
31 | "ResponseParameters": {
|
32 | "method.response.header.Content-Type": "integration.response.header.Content-Type"
|
33 | },
|
34 | "StatusCode": 200
|
35 | }
|
36 | ]
|
37 | }
|
38 | }
|
39 | }
|
40 | }
|
41 | }
|