Comments (8)
Updated.
from serverless.
using API gateway to pass context information into the lambda is huge, I'd like to see how that works but the link you provide is behind aws auth.
from serverless.
From the AWS Developer Forums...
Hi,
The following context variables are now available in mapping templates. Not the exact solution you wer looking for, but some of that information will be available now. The main part missing would be the full hostname part, but the apiId, stage, and resourcePath are useful for determining path that calls the Lambda function.
$context.stage
$context.apiId
$context.resourcePath
$context.resourceId
$context.httpMethod
This will be documented in greater detail soon.
Thanks,
Jack
from serverless.
Great, now we just need to find a way to tie that into your middle-ware and aws config, I'll take a crack at it later today. Thanks for reaching out to the aws team btw, seem like they have been really supportive.
from serverless.
Update 8/13/15:
We’re currently working on a document that outlines the specifications for JAWS v1.0.0.
A proposed resolution to this issue in particular is included in that document.
Today or tomorrow, we will share the document for everyone to comment on because your feedback is essential.
from serverless.
Hi @ac360 I am wondering where the document is?
People mentioned it could be solvable by setting up route53 latency routing with API Gateway - https://forums.aws.amazon.com/thread.jspa?threadID=220478. However, I could not find SNI setting in Cloudformation for Route53.
Would love to know your opinions.
from serverless.
Looks like this is now possible with Lambda@Edge http://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html
from serverless.
Thanks for the update @nickalto 👍
@horike37 just opened up an issue for this a few days ago: #3944 🎉
from serverless.
Related Issues (20)
- serverless config credentials HOT 4
- V4 - Include original error message after our custom error messages when resolving AWS Credentials HOT 1
- V4: Unrecognized command “plugin install” v4.0.26 HOT 6
- Serverless4: Using esbuild's "packages: external" flag doesn't seem to work HOT 3
- Serverless4: Unable to Ensure that the Prisma libquery Engine and schema.prisma are Included in my Bundle HOT 7
- Support MFA Prompt when using an AWS Profile
- V4 progress spinner conflicts with plugins HOT 1
- Error: Cannot find module 'serverless/lib/serverless-error' While installing the appsync plugin HOT 2
- Dev Mode instruments all functions across multiple services if run in parent folder
- Ensure Bref works with Serverless Framework V.4 HOT 1
- Ensure Lift works with Serverless Framework V.4 HOT 7
- v3: Error: Cannot use 'publicReadAccess' property on a bucket without allowing bucket-level public access through 'blockPublicAceess' property. HOT 2
- Resolvers error regarding `replace`
- Serverless V4 deployment Error HOT 2
- Serverless command "offline" not found HOT 1
- Unable to set `maximumConcurrency` on `events.sqs` HOT 1
- Dev Mode does not close on the first CTRL+C
- Dev Mode occassionally misses prefixed and colored hyphen
- Documentation is not updated about the v3 HOT 1
- Encountering "Internal Serverless Error" in commands HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless.