【以下的问题经过翻译处理】 通过AWS Cloudformation创建网关API时,在创建授权程序时遇到了JWTConfiguration的问题。
Authorizer:
Type:'AWS :: ApiGatewayV2 :: Authorizer'
Properties:
Name:VSTORES_Api_CognitoAuthorizer
ApiId:zzzzzzzzzzzz
AuthorizerType:JWT
IdentitySource:
-'$ request.header.Authorization'
AuthorizerResultTtlInSeconds:3600
JWTConfiguration:
受众:
- xxxxxxxxxxxxxxxxxxxxx
发行人:https://cognito-idp.us-east-1.amazonaws.com/us-east-xxxxxxx
我收到了以下错误:
属性验证失败:[{/}中遇到不支持的属性:[JWTConfiguration]]
我做错了什么?
PD:显然,xxxxx和zzzz是有效的值。 :)