Category "aws-lambda"

How to deploy multiple functions using serverless cli?

From the doc, I can deploy a function like this serverless deploy function -f functionName https://www.serverless.com/framework/docs/providers/aws/cli-refer

AWS Api Gateway: Missing Authentication Token

So i have a Custom Domain Name setup for api gateway linked to a lambda function. I have it working fine if i do https://api_domain.com/something the behavior i

AWS API Gateway Integration Response - Lambda Error Regex fails matching when response contains new line

I have API Gateway as a trigger to my lambda function. Whenever my lambda raises an exception, it gets matched with the pattern configured in Integration Respon

AWS CORS Enabling - Where it needs to be enabled? Chalice? Dynamodb? or S3?

Trying my hands on with aws. I have done following. Created a dynamodb table. Created Chalice app to access the data through api. Created a Angular6 applicat

AWS API Gateway Proxy with many lambdas

I´ve been using AWS API Gateway for quite a long time, and last month I started using it by calling my C# ASPNET inside a Lambda function throught a proxy

Sorting, Skip and Limit(Skip) queries for Amazon DynamoDB

I am new to AWS Lambda, Amazon DynamoDB and serverless. I have one user table want to do like this. I want to fetch records pagination wise in each page fetch 1

Running npm inside AWS Lambda

I am trying to run npm install from inside AWS Lambda. But I'm getting the below error. Setting --prefix to "/tmp" doesn't work either. { Error: Command fai

Why is my AWS Lambda crashing when running in ARM64 architecture?

I'll summarize my issue. I have a solution containing multiple .NET lambdas (3.1) which I deploy using serverless, all of which work just fine in the old archit

SQS Lambda Trigger with Visibility Timeout extension

I'm working on a solution where I have a SQS queue with Lambda trigger. My understanding is Lambda will receive messages in batches to be processed, and once La

Error executing "Hello World" for AWS Lambda in Java

I have written following Hello World Lambda which I am executing by uploading on AWS via AWS toolkit for Eclipse. public class HelloWorldLambdaHandler implemen

Is there a way to send a POST request to slack without using Webhook?

I have tried to send POST requests to my slack channel using webhooks to no avail. It always returns a bad request no matter what I do. Is there a way to send

AWS Serverless.yml example of WebACL config

I am trying to deploy lambda functions using serverless, and every time I redeploy I have to re-enable my WAF manually. How can I enable the WAF in my serverles

Update an environment variable of an AWS Lambda function in python

I am wanting to update an Environment Variable from an AWS Lambda function. I have tried this code: import os def lambda_handler(event, context): call =

set timeout for chalice functions in general

In the documentation of chalice one can see an example of a configuration of a lambda function on aws provisioned by chalice. The idea is that you can define

How to access host in lambda behind both API gateway and cloudfront?

I have a lambda function being executed by an API gateway. I have cloudfront pointing traffic to the API gateway endpoint. How do I access the host/domain the

AWS Lambda execute shell npm install error

I'm trying to build a web app in AWS lambda and upload it to an S3 bucket. For that, I utilize child process, which is working fine locally. exec('cd /tmp/ &

No module named 'pyarrow.lib' found from lambda function

I have installed pyarrow version 0.14.0. I'm creating a package to run that from lambda. While executing from lambda i'm getting error - No module named 'pyarro

Render PDF into an image (self-contained, no external command line dependencies) (to use on AWS Lambda)

I need a simple python library to convert PDF to image (render the PDF as is), but after hours of searching, I keep hitting the same wall, I find libraries like

AWS Annotations Framework Input Parameters for C#

I'm having trouble getting a Lambda function written using the AWS Annotations Framework to accept input parameters. This is the article I'm using: https://aws.

AWS Cognito: Verify deletion of user

We need a verification step for user deletion through AWS Cognito. Upon requesting delete a verification code should be sent to the users email address (like it