skip to Main Content

Amazon web services – Problem to deploy simplest Spring Cloud Function application on AWS Lambda using docker image

I having a problem deploying the simplest Spring Cloud Function application to AWS Lambda using a docker image. @SpringBootApplication public class GraalvmFuncExampleApplication { public static void main(String[] args) { SpringApplication.run(GraalvmFuncExampleApplication.class, args); } @Bean public Function<Mono<MyRequest>, Mono<MyResponse>> transform() { return req…

VIEW QUESTION

Amazon web services – how to set interval in lambda start job

I have lambda that stops a running job and start a different glue job. It goes like this: def lambda_handler(event, context): client = boto3.client('glue') body = json.loads(event['body']) job_id_to_stop = body['job_id_to_stop'] job_to_start_argument = body['job_to_start_argument'] client.batch_stop_job_run( #STOP JOB RUN JobName='job-to-stop', JobRunIds=[ job_id_to_stop…

VIEW QUESTION
Back To Top
Search