I have a Serverless lambda function, in which I want to fire(invoke) a method and forget about it  I'm doing it with this way     // myFunction1    const params = {     FunctionName: "myLambdaPath-myFunction2",      InvocationType: "E...
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 have a problem with CORS, the problem is my code is executed (status 200) but I have an error in Google Chrome developer console.  My code:  function callUrl(url) {     var xmlhttp = null;      if (window.XMLHttpRequest) {         xmlhttp = new XML...
I have installed aws-cli and serverless in my windows 7 machine from command npm install -g aws-cli serverless and also successfully configured aws and sls  aws configure sls config credentials --provider aws --key <my-access-key> --secret <...
I'm trying to following this example, https://www.apollographql.com/docs/apollo-server/deployment/lambda/, to create a serverless GraphQL server which returns 'Hello world'.  The root directory contains essentially just two files, graphql...
I have a lambda/server less function that is going to perform several API calls that will take some time. I want to update the user on the front end as each task completed (progress bar style) but the only way I'm aware of to send information bac...
I am using the Serverless Framework to deploy a WebSocket app to AWS Lambda.  I need to make it send a response back to the client when it hits a WebSocket route.  Here is my handler:  const AWS = require("aws-sdk");  module.exports.websocket...
I am not sure why but my webhook is being fired twice in my cron job. So this cron job is suppose to run once every 15 min which it does, but it is firing off twice. I will post the logs, handler and yml file to help out.  Basically my cron job will...
This question is pretty much the same as Serverless offline not getting route, but since that one was not answered I'm asking again. I'm trying to follow this article, https://medium.com/@awesome1888/how-to-use-serverless-locally-with-webpack...
I am trying to put together a really simple AWS Lambda using Serverless and DynamoDB.  My code to create an item is:      dynamoDb: DocumentClient      constructor() {         this.dynamoDb = new DynamoDB.DocumentClient({region: 'us-east-1'})...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.