Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
2 replies
45 views

In the AWS Lambda runtime API, the process (acting as the "lambda runtime client") within the container is supposed to poll a HTTP endpoint for invocation details (then post the function ...
benjimin's user avatar
  • 5,134
0 votes
0 answers
41 views

We are migrating a service from the serverless framework hosted on AWS to a regular NodeJs, fastify server. In the process of this, while we are slowly chipping away at the old code, we found that ...
Scramjet's user avatar
  • 496
1 vote
1 answer
175 views

I am trying to run Playwright test as part of SSM Automation by invoking Lambda function. I tried few approaches to create Docker image. Use AWS nodejs-lambda base image. FROM public.ecr.aws/lambda/...
zdenko.s's user avatar
  • 1,126
1 vote
1 answer
56 views

I want to return binary files (e.g. images, PDF) from an AWS Lambda function with a function URL. I am not using API Gateway. The documentation for the return object does not say much about the body, ...
falsePockets's user avatar
  • 4,483
0 votes
0 answers
31 views

I am trying to access a Vue SPA served with S3+CloudFront, restricted by signed cookies. This is for a platform that displays a user's active "apps". Each app is its own CloudFront domain. ...
Yolo_chicken's user avatar
  • 1,445
Advice
0 votes
2 replies
93 views

I have experience in frameworks like Django, Flask and FastAPI. Now I have a project requirement to do this in Lambda architecture. Do I need to just vibe code it or learn and understand first, then ...
Mohammed Sadiq Ali's user avatar
0 votes
2 answers
79 views

Goal: I have been tasked with deploying an AWS SAM build change in our dev environment, where the removal of two (of seven) image Lambdas is required. Let's call them FuncA and FuncB. These two ...
Osman Ali's user avatar
0 votes
1 answer
119 views

My setup is this: outside -> CloudFront -> API Gateway -> Lambda CloudFront distribution uses both Viewer request and Origin request lambdas. In November, sometime between the 18th and 21st,...
MigMit's user avatar
  • 1,715
0 votes
0 answers
60 views

I am trying to pass a value from an AWS API Gateway Lambda Authorizer to a Quarkus REST endpoint via an HTTP header. Below is a minimal reproducible setup. Minimal Setup 1. Lambda Authorizer (context ...
Rohan P H's user avatar
0 votes
0 answers
57 views

I have two AWS step functions. The first iterates through a distributed map of a couple of thousand elements triggering the second. The second has three steps, let's call them A, B and C - each of ...
Richard Wheeldon's user avatar
0 votes
2 answers
110 views

I have built an application in AWS that uses AWS Lambdas for horizontal scaling (sometimes a handful run, other times hundreds for a few seconds). My lambdas are intermittently timing out due to no ...
Mr Fett's user avatar
  • 8,628
3 votes
0 answers
102 views

I have parquet files with zstd compression in S3 that I am trying to read in Lambda. I use the below code but it gives error Support for codec 'zstd' not built. df = wr.s3.read_parquet(path=s3_path) ...
seou1's user avatar
  • 534
1 vote
0 answers
69 views

AWS has recently announced support for response streaming in AWS API Gateway. I am using AWS Lambda on .NET with ASP.NET using following pattern: public class LambdaEntryPoint : ...
Luke1988's user avatar
  • 2,178
5 votes
2 answers
239 views

I have a pipeline where: Lambda A reads DynamoDB and publishes events to Kinesis Kinesis partitions events by key Lambda B consumes the stream and writes the latest record per key back to DynamoDB ...
Yasin Türk's user avatar
Best practices
0 votes
1 replies
38 views

I have a Typescript lambda function which consumes EventBridge event containing some payload. I want lambda function to be able to reprocess that event when the lambda code throws error. The event ...
Andrei Khotko's user avatar
0 votes
0 answers
68 views

I'm implementing Stack Exchange OAuth 2.0 PKCE flow in an AWS Lambda function. The token exchange works fine when I test it with Postman using the exact same parameters, but fails when called from ...
OhhhThatVarun's user avatar
0 votes
1 answer
110 views

I have created a shared library and details are here: sharedlibrary.csproj: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0</...
A.M. Patel's user avatar
0 votes
1 answer
60 views

I have a whatsapp bot implemented with connect + lex + lambda. This error happening for the first time only. after that it works normaly and next day first time same error. I am sending the correct ...
Laksh M's user avatar
  • 11
1 vote
0 answers
117 views

I have a .NET 8 based multi-project backend solution. It uses GitHub actions to build the build/publish project with release, that is later used by AWS Lambda to run it whenever an invocation occurs. ...
humblefool's user avatar
1 vote
1 answer
96 views

I'm trying to filter based on metadata values of incoming SQS events, not what is in their body. From the documentation, it is mentioned that there is a messageAttributes attribute. I want to filter ...
Pablo's user avatar
  • 1,013
0 votes
1 answer
110 views

I am creating widgets in Grafana for monitoring AWS resources, including Lambda functions. For this purpose, I am creating variables that filter to just my team's Lambda functions using regex. Some ...
jspinella's user avatar
  • 2,529
Best practices
1 vote
1 replies
180 views

I’m working with AWS Lambda and need to attach multiple Lambda layers to a function. I know that AWS allows you to specify the order of layers, but I’m unclear on how the ordering actually affects ...
fmush's user avatar
  • 29
Best practices
0 votes
0 replies
112 views

I’m working with AWS API Gateway (REST API) and testing routes using the “Test” feature in the API Gateway console. I changed the backend Lambda function that an API route is integrated with (for ...
fmush's user avatar
  • 29
Best practices
0 votes
1 replies
40 views

I’m working on an AWS setup with multiple environments: master (production) and qa. Recently, our Flutter app was getting 500 errors when calling the master API Gateway endpoints that are integrated ...
fmush's user avatar
  • 29
0 votes
0 answers
77 views

What I am trying to achieve is to trigger specific actions within my AWS Account when specific IAM actions are performed. This appeared to be much more complicated than I expected, so I wanted to ...
DevelJoe's user avatar
  • 1,592
0 votes
0 answers
84 views

I'm pulling multiple CSV files from S3. Each CSV contains several rows in this format: 45,ABC,800046,HJN,9000 The first column is the employee ID. I want to loop through all the files, parse each CSV, ...
new coderrrr's user avatar
2 votes
1 answer
190 views

I want to enable alexa voice control for my smart home device. I was able to discover device. Now all devices are showing in alexa app. But all are showing as device is unresponsive. This is my ...
KUDAMALA HARIPRASAD REDDY's user avatar
-1 votes
1 answer
167 views

I want to deploy AWS lambda with Spring Boot. I created a basic project with handler: import com.amazonaws.serverless.exceptions.ContainerInitializationException; import com.amazonaws.serverless.proxy....
Peter Penzov's user avatar
  • 1,228
1 vote
1 answer
73 views

I am facing difficulties consuming an API in Angular that returns an Excel file encoded in Base64. The API is configured in AWS API Gateway and uses a Lambda function to generate the file. Although ...
Diego Lins's user avatar
0 votes
0 answers
44 views

I have an application that is in production working with Cloudfront + Appsync with OICD Authorizer. In the Cloudfront configuration for some reason it is adding in the custom headers if API_KEY exists ...
Leonardo Campanha's user avatar
Advice
0 votes
6 replies
64 views

I have the following resource in Amplify v2: export const myFunction = defineFunction({ name: 'my-function', layers: { sharp: "sharp_arm64:1", }, environment: { BUCKET_NAME: ...
Nate's user avatar
  • 7,906
0 votes
0 answers
78 views

I have a working AWS Appsync application that uses OPENID_CONNECT as authorization, when I added API_KEY as additional broke the old routes. For some reason in the appsync schema it had in all routes ...
Leonardo Campanha's user avatar
-1 votes
1 answer
213 views

I’m facing an issue with my React frontend and AWS Lambda backend setup. When my app makes multiple API calls at the same time, some of them randomly return a 500 Internal Server Error, while others ...
Kishan Dobariya's user avatar
-4 votes
1 answer
80 views

I am using lambda and Python and S3. # lambda_bootstrap_train.py import boto3 import time import json import os sm = boto3.client('sagemaker', region_name='us-east-2') s3 = boto3.client('s3', ...
Clint C.'s user avatar
  • 686
-1 votes
1 answer
67 views

I have a Lambda@Edge function which has 2 versions. Version 1 has non-functional code and version 2 has the latest operational code. What that function does is it fetches an object from an S3 bucket ...
ShanWave007's user avatar
0 votes
0 answers
56 views

Logging const client = generateClient<Schema>(); results in the following, which shows that the client is improperly generated: { "models": {}, "enums": {}, "...
Kevvv's user avatar
  • 4,103
0 votes
1 answer
108 views

In a Lambda, I'm using AWS Wrangler to read data out of a date partitioned set of parquets and concatenate them together. I am doing this by calling wr.s3.read_parquet in a loop, compiling the loaded ...
AngusB's user avatar
  • 70
1 vote
0 answers
72 views

How can I determine which Identity Provider (IdP) a user used to sign in during the AWS Cognito PreAuthentication trigger, when multiple federated IdPs (SAML/OIDC) are linked to the same user? In the ...
saish rane's user avatar
0 votes
1 answer
106 views

Background I'm building a Lambda function (Node.js 20 runtime) that connects to an Amazon RDS MySQL database within the same VPC. Both the Lambda and the RDS instance are deployed in private subnets. ...
nachmen kurtz's user avatar
1 vote
0 answers
107 views

I’m developing a tool to speed up the AWS Lambda creation process for my colleagues and I, as we use it extensively, and I need to periodically check for deprecated runtimes. The idea is to create a ...
Federico Moretti's user avatar
1 vote
1 answer
136 views

I have a DynamoDB table with entries that can have a status (waiting, error, running...). Only up to 25 entries can have running status. My objective is to have an AWS Lambda function that checks if ...
Learning from masters's user avatar
0 votes
2 answers
76 views

Given a CloudWatch -> Firehose -> Splunk flow, where Firehose passes incoming log records to a lambda, often the return from the lambda is larger than the allowed 6MB. I've captured the payload ...
Josh M.'s user avatar
  • 28.1k
0 votes
1 answer
106 views

I’m developing a Spring Boot application deployed behind an AWS API Gateway (HTTP API v2) with Lambda (handler based on SpringBootLambdaContainerHandler and HttpApiV2ProxyRequest). I’m using OAuth2 ...
nekatte's user avatar
0 votes
0 answers
57 views

I’ve built a simple web-based chatbot (called Engineer’s Toolkit) that uses Amazon Lex, AWS Lambda, and API Gateway, with a static frontend hosted on S3. The flow is supposed to be: Frontend (S3) → ...
Hamza Sahaf's user avatar
0 votes
0 answers
61 views

from aws_lambda_powertools.utilities.typing import LambdaContext from aws_lambda_powertools.event_handler import APIGatewayHttpResolver from aws_lambda_powertools.logging import Logger from validate ...
Rohan Shah's user avatar
0 votes
1 answer
55 views

I have an S3 bucket that should invoke a Lambda function on ObjectCreated:Put. This used to work. After editing the Lambda code in the console, new uploads stopped triggering the function. I do not ...
smithiii's user avatar
0 votes
1 answer
100 views

I'm trying to use psycopg2 in an AWS Lambda function (Python 3.11 runtime). I followed the jkehler/awslambda-psycopg2 repository and copied the psycopg2-3.11 folders directly into my Lambda deployment ...
Kausar's user avatar
  • 75
0 votes
0 answers
58 views

I'm trying to generate a video using remotion library. I have used the following two images I have cropped the top option of image and places it on after another vertically. Please check the following ...
Ananth's user avatar
  • 1,582
0 votes
1 answer
83 views

I'm migrating multiple AWS Lambda functions to GCP and need to generate Terraform configurations that match the existing AWS setup. Currently, I'm manually writing each Lambda configuration, which is ...
Saif Sabry's user avatar
0 votes
0 answers
71 views

I’m working on an AWS setup where I need to detect last user activity (keyboard/mouse input) on a Windows EC2 instance. Inside the instance, if I run this PowerShell snippet directly, it works ...
Pranay's user avatar
  • 11

1
2 3 4 5
640