We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motivation: As of writing, abu-api- will consume 199 resources. Since the limit is 200, the user cannot create more API endpoints.
Proposed Solution: Merge API entity into one lambda function.
A new file src/index.js will be the one to route to the individual functions.
src/index.js
function.yml
admin-access: handler: src/index.handler events: - http: path: / method: post authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true - http: path: /{id} method: get authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true - http: path: / method: get authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true - http: path: /{id} method: put authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true - http: path: /{id} method: patch authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true - http: path: /{id} method: delete authorizer: type: COGNITO_USER_POOLS authorizerId: Ref: ApiGatewayAuthorizer cors: true
Pros:
Cons:
The text was updated successfully, but these errors were encountered:
ianpogi5
No branches or pull requests
Motivation: As of writing, abu-api- will consume 199 resources. Since the limit is 200, the user cannot create more API endpoints.
Proposed Solution: Merge API entity into one lambda function.
A new file
src/index.js
will be the one to route to the individual functions.function.yml
Pros:
Cons:
The text was updated successfully, but these errors were encountered: