Category "aws-lambda"

Cannot delete Lambda@Edge created by Cloud Formation

I cannot delete a Lambda@Edge function create by Cloud Formation. During the Cloud Formation creation process an error occurred and the rollback process was exe

AWS Lambda@Edge 502 LambdaValidationError in CloudFront for redirect

I have a lambda function which performs 301 redirect if it has uri that is generated using regex. const redirects = { xyz: '/contact', abc: '/about', };

Can I grant lambda access to other accounts using Organization Unit IDs?

I want to create a lambda that will exist in one central account and that will get invoked by other accounts within my Organization. I know it is possible to g

Create and deploy Micronaut AWS Lambda GraalVM Native Image CRUD Application to handle APIGatewayV2HttpEvent by delegating to Controller

I am trying to deploy (via Docker) a CRUD Micronaut AWS Lambda (Function/Application?) that should handle APIGatewayV2HTTPEvent requests and should compile into

How to force AWS Timestream to always interpret a number as double in an IoTCore rule?

Sensor payload decoders are mostly provided as javascript code by the sensor manufacturers. As I'm using different sensor types, I want to use the original deco

Log4j2 + AWS JAVA LAMBDA + CLOUD WATCH LOGS

I am using the following configurations in my code but cloudwatch logs are not getting generated. Log4j2.xml is present in main/resources. I am following the AW

Laravel aws lambda file upload exception - Aws\S3\Exception\S3Exception: Error executing InvalidAccessKeyId

Aws\S3\Exception\S3Exception: Error executing "PutObject" on "https://sage-dev-serverlessdeploymentbucket-1t0g1w1stv04r.s3.amazonaws.com/images/background.jpg"

Avoid re-build of AWS Lambda Layer in CDK

I have a CDK stack that, among other infrastructure elements, deploys an AWS Lambda Layer (or actually a lambda.LayerVersion). I noticed that every time I updat

Unable to send logs from kinesis firehose to opensearch

I have a workflow, where: All cloudwatch logs will be streamed to Kinesis Firehose Delivery Stream. From Kinesis Firehose Delivery Stream, it will be sent to Op

AWS Lambda image/pdf upload to S3 is corrupted (asp.net core)

I have written a function that uploads a file in an s3 bucket. It works fine when I run my application locally. But when I deploy the application in AWS Lambda,

Caching results of a lambda function

We are developing a serverless application. The application has "users" that get added, "groups" that have "permissions" on different "resources". To check if a

$multiply query not working in Document DB

We have created a documentDb instance having a 4.0.0 version. When running the query using $muliply it throws an error as Bad Query. Query: 'test': { $multiply:

how to get the instance ids in a autoscaling group using AWS Lambda function Python

I'm new to coding I want to get the instance ids of an autoscaling group using AWS lambda function

(CLOSED) How to work with global variable in AWS Lambda (python)

I need an approach in AWS lambda to resolve an issue What am I doing now: I am looking to build a quick script to test my understanding on global variables. In

(CLOSED) How to persist data across multiple AWS Lambda sessions?

I know this has been discussed various times on the world wide web, but as a newbie, it's really hard for me to translate these answers into practical execution

AWS lambda doesn't return binary content

I have an API which I'm deploying to AWS using CDK. I'm using the lambda proxy integration. I'm trying to create a new API call which will return a zip file, bu

Is it possible to call a lambda function at the end of Textract processing

Is it possible to call a lambda function at the end of some AWS Textract processing?

What is the difference between AWS Lambda & AWS Elastic Beanstalk

I am studying for my AWS Cloud Practitioner Certification and I am confused with the difference between AWS Lambda & AWS Elastic Beanstalk. From my underst

how to write a Trigger to insert data from aurora to redshift

I am having some data in aurora mysql db, I would like to do two things: HISTORICAL DATA: To read the data from aurora(say TABLE A) do some processing and updat

How to change the Timezone in AWS Cloudwatch Event Cron expression?

Requirement: We have 4 clients in 4 different regions and we need to set up a Cron expression in the cloud watch event which needs to trigger lambda at a partic