-
Notifications
You must be signed in to change notification settings - Fork 239
Support for IAM Policy for Lambda Authorizer (v1) #184
New issue
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
Comments
Hi missourian55, Yes, there is an open PR for this response. #174 Mark |
Any ETA on when this will be merged and released? We love to have this soon to remove some custom implementation in our stack. |
Hi missourian55, For a couple of reason this is proving a little annoying. In the short term I would continue to use the AuthPolicy class. Please reply back if you have any questions. |
This has been released in version 3.8.0 |
Just gave
{"principalId":"some","policyDocument":{"Version":"2012-10-17","Statement":[{"Condition":null,"Action":"execute-api:Invoke","Resource":["arn:aws:execute-api:us-east-1:123456789012:hr2mbvlnw6/some/POST/somemethod"],"Effect":"Allow"}]},"context":null} I cannot use IamPolicyResponse with REST API? Its only for Http API (API GW V2)? |
My apologies, the response required for the REST API has an additional field I'll create a new PR. |
@msailes Thanks for looking into this. Currently we are using AuthPolicy for REST api and we never populated If I need to populate this where I should get this value from? |
Do you have an example handler that you can share which exhibits this error? |
is it possible to share in any private mode? Otherwise I need to do lot of scrubbing to eliminate my company info |
You can contact me on my username @amazon.co.uk |
Done |
Any ETA on merging and releasing #233 ? |
@wilerson we hope to release this in June. |
this has been released in v3.9.0 |
Appreciate you guys added few event types to support the LambdaAuthorizer, Any plans to add a event type for IAM policy response which will be compatible with REST API?
Currently I am using this class from blueprints
https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints/blob/master/blueprints/java/src/io/AuthPolicy.java
The text was updated successfully, but these errors were encountered: