Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
118 views

Is there an alternative to using access keys to authenticate a mobile application to invoke an AWS Lambda function?

I built a mobile application using React Native and Expo Go. This application makes use of 1 serverless AWS Lambda function. Currently, this application invokes the Lambda function through the use of ...
a01027265's user avatar
0 votes
1 answer
115 views

MSK Trigger process duplicate message

We have below setup MSK Topic(10 partitions) -> Trigger -> Lambda(Single Group - Single consumer) Lambda Details: Batch Size : 1 Reserved Concurrency : 1 Lambda Retry : 0 Lambda Timeout : 2mins ...
Sugaan's user avatar
  • 43
1 vote
1 answer
74 views

AWS lambda function used for slack command returning json instead of text

I have a lambda function build on nodejs. export const handler = async (event) => { return { statusCode: 200, body: JSON.stringify({ "response_type&...
Dania De la Puente's user avatar
0 votes
1 answer
278 views

How to decorate a function using two routes using AWS Lambda Powertools Event Handler feature?

How can I use the API Gateway Event handler feature of AWS Lambda Powertools to provide two different paths for the same function? Normally, I would decorate my function as follows, which would allow ...
Shuzheng's user avatar
  • 12.8k
-3 votes
1 answer
58 views

Automate Network ACL on AWS

Is it possible to remove automatically the inbound rule at the Network ACL using Lambda functions? I've searched to many blogs and documentation but none of them are legit. also i tried chatgpt but ...
Eric Delos Santos Belgar's user avatar
-2 votes
2 answers
38 views

Input List of Data into DynamoDB with mjs

I'm calling my Lambda from an API Gateway and as Input give it a userID and a MMMY, which is just Month and year. Besides that I input data in the form of a List of Objects that look like this: { &...
Honigeintopf's user avatar
-1 votes
1 answer
23 views

Role Exception when a Step Function invokes a function embedded in a deployed SAM application

i am wondering if someone can assist here I have created a StepFunction which is invoking 3 lambda functions, one of which is embedded in a SAM application The call to the non-SAM lamdbas work fine, ...
user1068378's user avatar
0 votes
0 answers
72 views

Deleting DynamoDB with Lambda using aws-sdk causes the process to be terminated mid-process

Here is the package used and other information. "@aws-sdk/client-dynamodb": "^3.370.0" "@aws-sdk/lib-dynamodb": "^3.377.0" A process is created to delete ...
kyoshida's user avatar
  • 273
0 votes
2 answers
40 views

How to check the count of calls per post in Serverless Lambda?

I created a Lambda function using Serverless. I made it possible to make multiple Post calls to one function, but I want to figure out where the bottleneck occurs. app.post('/a', async(req, res) => ...
Yammo's user avatar
  • 5
0 votes
1 answer
80 views

SSM execution not working via lambda if instance id is not hardcoded

I want to fetch the instance id from the eventbridge rule for every newly launched instances and execute the ssm doc via lambda. Below is the code, this code is not executing ssm document for the ...
code userit's user avatar
0 votes
0 answers
20 views

fail to call axios in AWS Lambda located in VPC [duplicate]

In my aws Lambda(nods.js) which located in VPC(public subnet), I call axios request but it did not work. When I run the lambda out side of the VPC, it work well. So, I think that is problem from VPC. ...
Eum SeungJu's user avatar
0 votes
1 answer
269 views

(Visual studio,.net, aws) -Error when publishing to aws lambda

I have the following error: API.Usuario -> C:\Users\Guilherme Campos\Meus Projetos\BlackJack\Back-end\API.Usuario\bin\Release\net6.0\linux-x64\API.Usuario.dll (x86)\dotnet\sdk\6.0.412\Sdks\...
Guilherme C.'s user avatar
0 votes
1 answer
107 views

configparser for .ini file throwing key error when running using docker image in AWs Lambda

I have a Python file and a config.ini file which contain two sets of SQL queries. I am accessing those queries in the Python file. When I run these files inside the EC2 instance it's working fine. But ...
Shaik Salam's user avatar
2 votes
0 answers
173 views

setting up selenium webdriver on aws lambda

this is my code and i have added this is my code and i have added 2 layer of selenium and webdriver dont know what the issue is . { "errorMessage": "Message: Unable to locate or ...
Muhammad Ali's user avatar
0 votes
1 answer
283 views

AWS Lambda Layer magical credentials

I have deployed a lambda layer in one account (Account A) and granted access to the rest of the organization, including numerous other accounts, as follows: aws lambda add-layer-version-permission \ ...
varontron's user avatar
  • 1,147

15 30 50 per page
1
2 3 4 5
77