I was trying upload the file in Amazon s3 bucket using the server-less architecture below is the described flow ApiGateway->lambda->s3bucket I am sending Request using postman, image is encoded …
Tag: aws-lambda
AWS transcription job does not complete after lambda returns
I am trying to launch an async transcription job inside a lambda. I have a cloudwatch event configured that should trigger on completion of the transcription job; So that I can perform some action on job completion in a different lambda. But the problem is that the async transcription job is lauched successfully with following jobResult in the log but
Disable Azure service bus printing logs in cloud watch
I was getting following error message in aws lambda logs : so i added maven depdenecies as : But on adding slfj4j dependencies unwated logs from azure service bus are also getting printed now eg. my log4j.xml looks like this : How can i disable these logs getting printed ? Answer I think the problem is related with the logging
Using GraalVM to run Java in AWS Lambda
Is there any ability to use GraalVM to run Java in AWS Lambda functions? I read a lot articles about cold starts of Java applications with GraalVM AOT (ahead-of-time) compilation feature and decreasing duration of that and I’d like to try to use it in my AWS Lambda projects. Answer With the introduction of Custom AWS Lambda Runtimes at re:Invent
Manage RDS access with AWS Secrets Manager
I am currently working with Eclipse and the AWS Toolkit for Eclipse. My project already works and it is doing its job, which is to connect to an RDS instance and return JSON objects to API Gateway calls. I just got a new requirement, we are to use the service SecretsManager to authomatically rotate RDS configuration such as Users, passwords
Logging in AWS Lambda with slf4j
I am using a lambda function and writing it in Java. I was looking up logging for Lambda functions when I read the docs and they support log4j – http://docs.aws.amazon.com/lambda/latest/dg/java-logging.html#java-wt-logging-using-log4j. I was wondering if we could use logging using the Slf4j annotation as well since Slf4j is only a binding annotation. Has anybody tried using Slf4j before with lambda? Answer
package com.amazonaws.services.lambda.runtime does not exist in AWS java sdk 1.10.2
I am trying the Java code example in the Getting Started (Authoring AWS Lambda Code in Java) page, but am stuck as com.amazonaws.services.lambda.runtime pacakge seems to be missing Here is the sample code: I encounter the same error both in Netbeans and through command line (specifying the aws sdk thorugh -cp argument) from the first two imports of the code: