I'm using the AWS SDK for JavaScript and it is returning the following error when I try to create a Lambda function:     InvalidParameterValueException: The role defined for the function cannot be assumed by Lambda.   I've double-checked my r...
I have an AWS Lambda function, and I need to invoke it from my node app and stream the result back to the client.  I've looked in the docs but can't see a way.  I want to do something like this:  lambda.invoke(params).then(data => data.pip...
I'm building an Alexa Skill, and it requires that I store the userId of a user. I've tried to retrieve it with event.session.user.userId. However, when I call console.log(event.session.user.userId) the output is literally amzn1.ask.account.[u...
I'm trying to call and get the response from another lambda function using lambda invoke. The problem is other lambda function needs the id to be sent as path parameters (or as a query string). But I do not see an option in lambda invoke for this...
here's the code in AWS Lambda function:  var https = require('https'); exports.handler = (event, context, callback) => {     var params = {         host: "bittrex.com",         path: "/api/v1.1/public/getmarketsummaries"...
I've created a small AWS Lambda that sends an email using SES. I'm looking to hookup a contact us form from a static website to this lambda.  Is it possible to have the contact us form post directly to a url of the lambda? I'm not using a...
At the moment I think I have a foundational misunderstanding of how to extract/pass data from lambda functions & I'm seeking clarification  Example: Let's say I want to pass some data to a lambda function ie {"hello":"world...
I have a Cloudformation template with a [email protected] function. This means I need the lambda function, and a Version (type WS::Lambda::Version).  Now, the first time I create the CF template, it works. But when I update the CF template and the Lambda f...
I am trying to remove some headers from a Cloudfront response using [email protected] on the ViewerResponse event. The origin is an S3 bucket.  I have been successful to change the header like this:  exports.handler = (event, context, callback) => {...
I am trying to package code for AWS Lambda. Lambda has various restrictions, such as using Node 6.10, and not having a build step, like AWS EB does. I also am using NPM modules, so these will need to be bundled with the AWS Lambda handler.   Here is...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.