cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

UsagePlan not available in serverless.Api #2172

Closed claudiazi closed 1 year ago

claudiazi commented 1 year ago

I wanted to use sam to deploy the serverless API with a customised API usage plan. However, in serverless.Api, it is missing the attribute UsagePlan in attribute Auth. AWS related document: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apiusageplan.html Would be nice if we could add this attribute as well! Many thanks!