Procedures

Automation procedures in the AWS SNS book.

The following documentation is for AWS SNS v1.6.2 (BDK).

to get a (topic)

Gets a specific SNS topic by its ARN.

Input Concepts

Concept
Description
Type
Required
Default Value

arn

The ARN of the SNS topic to retrieve

text

Yes

(no default)

Output Concepts

Concept
Description
Type

The SNS topic.

sns topic

Examples

get a topic
   the arn is "<your topic arn here>"

to list (topics)

Lists the SNS topics in the AWS account that match the filter (if any).

Output Concepts

Concept
Description
Type

A list of SNS topics.

sns topic

Examples

list some topics

to publish a message to a topic

Publishes a message to an SNS topic.

Input Concepts

Concept
Description
Type
Required
Default Value

The SNS topic to publish to

sns topic

Yes

(no default)

message

The message to publish

text

Yes

(no default)

subject

Optional subject for the message (for email subscriptions)

text

No

(no default)

message attributes

Optional message attributes

json

No

(no default)

Output Concepts

Concept
Description
Type

answer

the message id of the published message

text

Examples

list topics
use the first topic as the topic
the message is "Hello, world!"
publish the message to the topic

Last updated

Was this helpful?