我在这里先向您的帮助表示感谢 .
目前,使用 Cloud 信息模板将简单的API部署到AWS,作为POC的一部分,用于从Azure迁移到AWS API管理 .
我已经完成了所有工作,除了我无法弄清YAML AWS扩展为HTTP请求设置HTTP代理复选框 .
样品YAML如下 . 我知道这不会设置该复选框(因为我测试了它并且它可以减去那个问题),但是在这个页面上
我看不到设置此选项的扩展程序? AWS尚未完成此操作
AWSTemplateFormatVersion: '2010-09-09'
Resources:
PlayersAPI:
Type: AWS::ApiGateway::RestApi
Properties:
Name: RAH API
Description: A demo API for testing
Body:
swagger: '2.0'
info:
title: test api
description: test api
version: 1.0.1
contact:
name: SH
email: test@mailinator.com
paths:
"/heartbeat":
get:
description: Checks the API is working
produces:
- application/json
responses:
'200':
description: API Response information
x-amazon-apigateway-integration:
type: http
responses:
default:
statusCode: '200'
httpMethod: GET
uri: https://api.example.com