1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
【以下的回答经过翻译处理】 我使用下面的链接解决了问题:
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
我需要创建一个Lambda授权者的权限,并手动构建源ARN:
sourceArn : source-arn "arn:aws:execute-api:region:accountId:api-id/authorizers/authorizer-id"
sourceArn: `arn:aws:execute-api:${Aws.REGION}:${Aws.ACCOUNT_ID}:${myapi.apiId}/authorizers/${myhttpAuthorizer.authorizerId}`,