You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'd like to define my API-Gateway through an 'implicit way', i.e., by defining the Lambda function and its associated Events-->ApiEventSource. See an example below.
Could I define the custom authorizer in this way? If so, how?
@syang "Implicit way" doesn't support that, you have to use AWS::Serverless::Api and define custom authorizers in swagger. Remember that for API event source in Lambda:
If an AWS::Serverless::Api resource is defined, the path and method values MUST correspond to an operation in the Swagger definition of the API.
* SAM T Serverless Connector Implementation
* Formatting Codes
* Adding Type Hints
* Fix failed unit tests
* Python 3.7 doesn't support TypedDict, revert partial changes
Addressing Feedback
Add more test to profile replace
* Move tests to unit test translator
* Use Managed Policy for Connectors
* Update Profiles.json
* Address Feedback and Modify Tests
* Rename some function and classes to better reflect the functionality
* Rename profile replace with better variables
* Handle hardcoded Role Arns
* Remove duplicate unit tests
Co-authored-by: Gavin Zhang <yuanhaoz@amazon.com>
If I'd like to define my API-Gateway through an 'implicit way', i.e., by defining the Lambda function and its associated Events-->ApiEventSource. See an example below.
Could I define the custom authorizer in this way? If so, how?
(Here is an example copied&pasted from #104)
The text was updated successfully, but these errors were encountered: