I am following these instructions to create a basic web scraper that executes in Lambda.  I have experience writing selenium code, but not with Node JS.  I got the project running in Lambda, but when I tried editing the project locally in order to ex...
I'm using serverless and serverless-webpack. webpack config is pretty straightforward:  const path = require('path'); const nodeExternals = require('webpack-node-externals');  module.exports = {     entry: {         lambda: '....
I'm using AWS Lambda, Cognito, and API Gateway (orchestrated with Serverless) to build an API for my web-app.   A user authenticates using Cognito, and then makes an authenticated request to the API (pattern copied from the Serverless Stack tutor...
I have a simple Lambda function which sends emails through SES. I can call it using a POST request with the required data and it will send an email. My question is, what are the methods I can use to secure this function? Currently, anyone can call th...
I currently have a Webpack build which outputs logs as it's running. As soon as I try and run the Webpack build through Serverless (by running serverless webpack or serverless webpack build) it swallows all the logs and it's difficult to see...
I have serverless API which is working with serverless framework version 1.25  Due to security reason I want to add response header. Please help me how can I set below headers via serverless.yml file. Is it necessary to add this header for the securi...
I am trying to build an AWS Serverless(https://serverless.com/) function in TypeScript.   Specifically, I am defining an abstract class with a single public method that calls some private methods.   Here is my simplified TypeScript class:  export abs...
My function's config:  register:   handler: handlers.register   events:     - http:         integration: lambda-proxy         path: register         method: post         cors: true   OPTIONS is returning these headers to the browser:  access-cont...
AWS SDK for node.js can not be run through browserify due to how the SDK is loaded  I want to included a newer version of the AWS SDK for node then what is included in lambda but I also want to optimize (via browserify) my lambda node.js code.  How d...
I have recently upgraded from now v1 to v2.   Everything works locally with now dev and all pages reload without any problems. However when I push to prod with now --prod and navigate to a page everything works as expected, however if I reload the pa...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.