Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
74 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
84 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,531
Best practices
0 votes
1 replies
119 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 ...
fiazmushfeq's user avatar
Best practices
0 votes
0 replies
69 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 ...
fiazmushfeq's user avatar
Best practices
0 votes
1 replies
33 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 ...
fiazmushfeq's user avatar
-1 votes
0 answers
50 views

I've created an Alexa-hosted skill in the Alexa Developer Console. I need to debug the Lambda operation. However, the log button redirects to a CloudWatch log-group that I don't seem to be ...
Dustin Oprea's user avatar
  • 10.3k
0 votes
0 answers
54 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,552
0 votes
0 answers
72 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
1 vote
1 answer
89 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
114 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
0 votes
0 answers
140 views

I have written a simple Alexa skill which works and I've now added a Widget, these both display as expected. I am now trying to use the datastore but every time I try to update the store, I am getting ...
Chris's user avatar
  • 43
1 vote
1 answer
67 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
38 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
54 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
1 answer
68 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
96 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
73 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
  • 688
-1 votes
1 answer
49 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
32 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
1 vote
1 answer
94 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
  • 80
1 vote
0 answers
60 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
2 answers
81 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
74 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
86 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
60 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
89 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
54 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
53 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
37 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
79 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
37 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
61 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
65 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
0 votes
1 answer
73 views

Hi I am working on something very simple I am creating a lambda runtime management config to manage all my lambda. I have around 9 existing ones. resource "aws_lambda_runtime_management_config&...
Tate_87's user avatar
  • 161
2 votes
1 answer
127 views

I'm trying to generate a video using remotion library. We can combine the video and text and generate an new video. I used to place the text at the bottom of the video and generate an video. Scenario ...
Ananth's user avatar
  • 1,582
0 votes
0 answers
36 views

I am trying to reference a directory of files in a lambda function using Amplify Gen2. I have created the folder in /functions/validateJsonAgainstSchema with the handler.ts file import Ajv2020 from '...
Zach Starnes's user avatar
  • 3,208
1 vote
1 answer
56 views

AWS defines its prices for lambda in terms of GB-seconds, and so does Azure for its prices for functions. What does that unit refer to? Are those Gigabytes of memory allocated for a number of seconds?
Patrick Bucher's user avatar
1 vote
1 answer
119 views

My Kotlin project needs to parse files and keep track of the outcome: fun parseFiles(dp:MyDataProvider, files:List<String>) { //store the status of each processed file val statusMap = ...
pbuchheit's user avatar
  • 1,839
0 votes
1 answer
149 views

I have aws-nuke running on Lambda using a container. aws-nuke is returning exit code 0, but the Lambda returns Runtime.ExitError Cloud watch logs: ... Scan complete: 221 total, 0 nukeable, 221 ...
ALIAROUS's user avatar
  • 137
2 votes
1 answer
44 views

Let the following lambda handler: export const handler = async (event:any) => { console.log("[PROCESS] Starting process"); return {status: "OK"}; } And when executed ...
TommyGarcia's user avatar
1 vote
2 answers
150 views

I need to implement a MS SQL Server functionality in RDS where on a row insert for a "Foo" table I need to trigger a REST API call for a "Bar" endpoint. One of the solutions that I ...
TestSubject's user avatar
0 votes
2 answers
114 views

I am trying to create and run a lambda function from within Redshift. I have scaled the lambda_handler back to something very simple def lambda_handler(event, context): print("Received event:&...
Stephen Saidani's user avatar
0 votes
0 answers
58 views

I'm having an issue creating an AWS CloudFront Distribution that returns CORs headers from a Lambda Function URL Origin. I can send test requests via cURL to the Lambda Function URL directly and see ...
rhys_stubbs's user avatar
0 votes
0 answers
60 views

I have a Spring Boot 3 Lambda behind API Gateway. Sometimes the Lambda REPORT line shows an X-Ray trace: enter image description here …but on later calls to the same endpoint, the X-Ray line is ...
sahil desai's user avatar
0 votes
0 answers
102 views

I am building a service based on AWS Bedrock and I have run into an issue which I have been unable to solve. In short, I want to return the return value of an action in addition to the default text ...
acke's user avatar
  • 23
3 votes
2 answers
258 views

In this NestJS project we have a few routes. The main ones in this case are: GET /polls?page=1&limit=10 // page and limit are optional And: GET /pages?page=1&limit=10 // page and limit are ...
Tuma's user avatar
  • 527
0 votes
1 answer
121 views

I tried to run an AWS Lambda written in Go locally. I used function handlers in Go and did this: Initialized a project with go mod init aws-example-go Created the file main.go and copy pasted the ...
surfmuggle's user avatar
  • 6,046
3 votes
1 answer
229 views

I have difficulties from this: (aws-lambda-python-alpha): Failed to install numpy 2.3.0 with Python 3.11 or lower My Dockerfile: FROM public.ecr.aws/lambda/python:3.11 # Install RUN pip install '...
Flo's user avatar
  • 485
0 votes
3 answers
140 views

I am using AWS Lambda with Python and pg8000 to insert records into a PostgreSQL RDS database. When conn.run() is called, I get argument errors or syntax errors. INSERT_SQL: INSERT INTO crypto_prices (...
Lil' Big Boy's user avatar
1 vote
0 answers
44 views

"Could not connect to the endpoint URL: http://localhost:4566/ I'm developing a FastAPI-based Lambda function using AWS SAM CLI for local testing on macOS, with LocalStack emulating Secrets ...
Daniel Dow's user avatar

1
2 3 4 5
641