-
Notifications
You must be signed in to change notification settings - Fork 0
/
apigateway.yml
35 lines (35 loc) · 1.01 KB
/
apigateway.yml
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
openapi: "3.0.1"
# https://docs.aws.amazon.com/cli/latest/reference/apigatewayv2/reimport-api.html#examples
info:
title: "EKS Devops Capstone Backend"
version: "2021-08-31 23:04:30UTC"
servers:
- url: "https://595oh68rv7.execute-api.us-east-1.amazonaws.com/{basePath}"
variables:
basePath:
default: ""
paths:
/:
get:
responses:
default:
description: "Default response for GET /"
x-amazon-apigateway-integration:
payloadFormatVersion: "1.0"
type: "http_proxy"
httpMethod: "GET"
uri: "http://NEW_BACKEND:3000"
connectionType: "INTERNET"
/hello/{name}:
get:
responses:
default:
description: "Default response for GET /hello/{name}"
x-amazon-apigateway-integration:
payloadFormatVersion: "1.0"
type: "http_proxy"
httpMethod: "GET"
uri: "http://NEW_BACKEND:3000/{name}"
connectionType: "INTERNET"
timeoutInMillis: 30000
x-amazon-apigateway-importexport-version: "1.0"