/spring-cloud-aws

Sample application using Spring Cloud AWS

Primary LanguageJava

Spring Cloud AWS

Java CI with Maven

Sample application using Spring Cloud AWS

Table of Contents

Architecture

The technology stack used is provided by Spring, in particular:

  • Spring Boot - 2.1.1.RELEASE
  • Spring Cloud - Greenwich.RELEASE
  • Spring Cloud AWS - 2.1.1.RELEASE

Prerequisites

  • JDK 8 - Install JDK 1.8 version
  • Maven - Download latest version
  • AWS Account

Running Instructions for AWS S3

  • Change "accessKey" and "secretKey" inside the application.yml file with your AWS personal data

Rest API

Method URI Description Parameters
POST /aws/s3/create Create new S3 Bucket
GET /aws/s3/download Download content
POST /aws/s3/upload Upload content
DELETE /aws/s3/delete Delete S3 Bucket

Running Instructions for AWS SNS

  • Change "accessKey" and "secretKey" inside the application.yml file with your AWS personal data

Rest API

Method URI Description Parameters
POST /aws/sns/create Create new SNS
POST /aws/sns/subscribe/{topicArn}/{email} Subscribe to SNS Topic ARN; Personal Email Address
POST /aws/sns/send/{topicArn} Send Message Topic ARN
DELETE /aws/sns/delete/{topicArn} Delete SNS Topic ARN