O'Reilly logo

AWS Development Essentials by Uchit Vyas, Prabhakaran Kuppusamy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The sample code and libraries of SNS

Amazon SNS doesn't have any specialized tools, so you are going to learn about the Java AWS SDK (using the Eclipse plugin) and the CLI tool configured by you in Chapter 1, An Introduction to AWS. In this section, you will learn how to perform the operations performed by you in the Management Console using the preceding tools.

Performing SNS operations using the Eclipse AWS SDK

The Eclipse AWS SDK provides libraries to perform SNS operations. Even though you have already created an SNS topic in the AWS Glacier section of Chapter 2, Working with the AWS Storage Services, you will see it in detail here.

The code used to create an SNS topic using the Java SDK is as follows:

ProfileCredentialsProvider credentials = ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required