我是 cloudformation 的新手,我正在尝试按照 AWS 文档创建一个使用方法限制的使用计划。我需要定义一个带有 Throttle 属性的ApiStage 。
我尝试了以下方法,但出现错误 -Value of property Throttle must be an object with String (or simple type) properties
ApiUsagePlan:
Type: "AWS::ApiGateway::UsagePlan"
Properties:
Throttle:
RateLimit: 10
BurstLimit: 10
ApiStages:
- ApiId: !Ref ApiGatewayApi
Stage: !Ref ApiStage
Throttle: -------> how to define this property?
RateLimit: 5
BurstLimit: 5