Constructs a new instance of the Publisher class.
Optional
config: PublisherConfigThe configuration object for the Publisher.
None
Publishes a message on a specified topic.
The message object to be published.
The ARN of the topic to publish the message to.
Optional
additionalProps: objectAdditional properties to include in the publish command.
Publishes a message on a specified topic.
The SMS message to publish.
The phone number to publish the message to.
Represents a publisher that can publish messages to an SNS topic.