我正在使用无服务器框架,并且正在尝试测试新的HTTP API (而不是REST API)来提高性能。目前,我单独创建REST API,然后在声明如下函数时引用restApiId和restApiRootResourceId: name: aws restApiRootResourceId: 79sdvuejs7 m
是否可以使用导出堆栈的logicalId。我已经创建了一个APIGateway资源并导出了它。是logicalId是rApiGatewayVehRestApi。当我尝试获取RootResourceId of rApiGatewayVehRestApi时,在无服务器部署期间会出现以下错误:
The CloudFormation template is invalid: Template error: instance of Fn::GetAtt references undefined resource r