If you want to create an AWS SNS (Simple Notification Service) Topic using the Command Line Interface - AWS CLI, you can make use of the aws sns create-topic command as follows,
Example:
% aws sns create-topic --name smsTopic
-------------------------------------------------------------
| CreateTopic |
+----------+------------------------------------------------+
| TopicArn| arn:aws:sns:us-east-1:10xx189xx9xx:smsTopic |
+----------+------------------------------------------------+
As you can see the SNS topic has been created.

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to AWS,
- Create S3 bucket and upload files using AWS Toolkit for Visual Studio Code
- Get the total size and number of objects of a AWS S3 bucket and folders
- Create an S3 bucket in a specific AWS region using CLI Command
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Fix AWS CLI 2 SignatureDoesNotMatch Error - Signature we calculated does not match
- 573 List of reserved keywords in AWS DynamoDB
- Quick way to setup AWS DynamoDB locally on macOS
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
- Quick way to install AWS CLI for macOS Terminal
- Setting and Updating AWS CLI Configuration
- AWS S3 CLI BucketAlreadyExists when calling CreateBucket Error make_bucket failed
- How to install AWS Toolkit for Visual Studio Code
- Create S3 bucket using AWS CLI Command mb
- Fix: zsh: command not found: aws (Mac/macOS)
- How to install AWS CLI on Ubuntu
- Fix: Amazon Linux bash: sudo: command not found
- How to Setup AWS Credentials using Visual Studio Code
- AW3 CLI command to get list of all region names
- Most Essencial AWS CLI 2 S3 ls Command Options
- Install AWS CLI using Brew Command
More Posts:
- Code2care Daily: Your Source for Tech & Programming News - April 14th, 2023 - News
- Fix: TextEdit Open Html as Plain Text Code - MacOS
- [Solved] SharePoint Illegal operation attempted on a registry key that has been marked for deletion - SharePoint
- Build-in Snipping Tool Alternative on Mac - MacOS
- How to Turn Dark Mode On in Jupyter Notebook - Python
- 100+ Hashtags for BST ARMY - BTS
- AlertDialog with no buttons (just text message) - Android
- How to add border to Android Button - Android