https://github.com/jftuga/sns_publish
command line tool to send message or file to AWS SNS topic subscribers
https://github.com/jftuga/sns_publish
aws aws-sns aws-sns-topic command-line command-line-tool go golang
Last synced: about 2 months ago
JSON representation
command line tool to send message or file to AWS SNS topic subscribers
- Host: GitHub
- URL: https://github.com/jftuga/sns_publish
- Owner: jftuga
- License: apache-2.0
- Created: 2021-08-25T14:54:20.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T15:50:21.000Z (over 2 years ago)
- Last Synced: 2025-06-03T19:10:36.016Z (about 1 year ago)
- Topics: aws, aws-sns, aws-sns-topic, command-line, command-line-tool, go, golang
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sns_publish
command line tool to send a message to all AWS SNS topic subscribers
You must supply a subject, message (or a file) and a topic ARN.
* You can optionally pass -p to use a profile other than the default.
* You can optionally pass -f to publish a file (instead of a message with -m).
## Usage
```
Usage: sns_publish -p PROFILE -s SUBJECT [-m MESSAGE|-f FILE] -t TOPIC-ARN
-f string
Send a file (instead of a message with -m)
-m string
The message to send to the topic subscribers; surround in quotes
-p string
Profile name to use; optional
-s string
The message subject; surround in quotes
-t string
The SNS topic ARN; starts with 'arn:'
-v Output version and then exit
```
## Installation
* macOS: `brew update; brew install jftuga/tap/sns_publish`
* Binaries for Linux, macOS and Windows are provided in the [releases](https://github.com/jftuga/sns_publish/releases) section.