Resources » SNS

Resource Creation

You can create SNS topics using the convox resources create command:

$ convox resources create sns
Creating sns-3331 (sns)... CREATING

This will provision an SNS topic. Creation will take a few moments. To check the status use convox resources info.

Additional Options

--name=<name>The name of the resource to create
--queue=<queue>The name of the SQS Queue that should subscribe to this topic

Resource Information

To see relevant info about the SNS topic, use the convox resources info command:

$ convox resources info sns-3331
Name    sns-3331
Status  running
  URL: sns://AKIBJIUUHXA6ZS4IOQIQ:ETq/IKs1OfSnLV4UC26eayufmVi1W0AJEEmbIyzh@arn:aws:sns:us-east-1:235997312769:development-sns-3331

Resource Deletion

To delete the SNS topic, use the convox resources delete command:

$ convox resources delete sns-3331
Deleting sns-3331... DELETING