Skip to content

AdamBien/aws-quarkus-lambda-pulumi-plain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroProfile with Quarkus as AWS Lambda deployed with Pulumi for Java

TL;DR

A Quarkus MicroProfile application:

@Path("hello")
@ApplicationScoped
public class GreetingResource {

    @Inject
    Greeter greeter;

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return this.greeter.greetings();
    }

    @POST
    @Consumes(MediaType.TEXT_PLAIN)
    public void hello(String message) {
        this.greeter.greetings(message);
    }
}

...with an additional dependency / extension for AWS REST APIs Gateway:

<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-amazon-lambda-rest</artifactId>
</dependency>

Deploying MicroProfile / Quarkus Application as AWS Lambda with Pulumi and Java

Deploying MicroProfile / Quarkus Application as AWS Lambda with Java Pulumi

About

Quarkus JAX-RS App Deployed with Pulumi as AWS Lambda as Function URL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published