cloudformation-api-gateway | Sample project that shows how AWS CloudFormation | Cloud Functions library
kandi X-RAY | cloudformation-api-gateway Summary
kandi X-RAY | cloudformation-api-gateway Summary
Sample project that shows how AWS CloudFormation can be used to create an AWS API Gateway backed by AWS Lambda. Please read the blog post for details.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cloudformation-api-gateway
cloudformation-api-gateway Key Features
cloudformation-api-gateway Examples and Code Snippets
Community Discussions
Trending Discussions on cloudformation-api-gateway
QUESTION
I'm trying to create an API Gateway, which uses an AWS_IAM Authorizer, and using Amplify to sign in to my app using Federated Identities.
This all works fine, however I'm not getting an identity in my backend service. What I want is to be able to access the identity of the user in my backend service. Eg a header with a user-id or something like that.
I've been looking at this example: https://github.com/matsev/cloudformation-api-gateway/blob/master/cloudformation.template to try to map the $context, however it seems it doesn't work with HTTP_PROXY?
...ANSWER
Answered 2018-Apr-13 at 10:09You need to add a header with the cognitoIdentityId from the context. So in the integration section you need:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cloudformation-api-gateway
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page