Spring Cloud for Amazon Web Services


Spring Cloud for Amazon Web Services is a community-run project. The website is and the source repository is located at

Spring Cloud for Amazon Web Services, eases the integration with hosted Amazon Web Services. It offers a convenient way to interact with AWS provided services using well-known Spring idioms and APIs, such as the messaging or caching API. Developers can build their application around the hosted services without having to care about infrastructure or maintenance.


Annotation-based SQS Queue Listener

private void receiveMessage(Person person, @Header("SenderId") String senderId) {
    // ...

Annotation-based SNS Listener

public class SnsEndpointController {

public void receiveNotification(@NotificationMessage String message, @NotificationSubject String subject) {
    // ...

public void confirmSubscription(NotificationStatus notificationStatus) {

Messaging Templates

snsTemplate.sendNotification("SnsTopic", "message", "subject");
sqsTemplate.convertAndSend("Queue", new Person("John", "Doe"));
Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.3.0 CURRENT GA Reference Doc. API Doc.
2.3.1-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
2.2.6.RELEASE GA Reference Doc.

A few examples to try out: