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.
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 = ...