AWS Tools for Microsoft Visual Studio Team Services
User Guide

AWS Send Message Task


Sends a message to an Amazon Simple Notification Service (SNS) topic or to an Amazon Simple Queue Service (SQS) queue.


This task accepts a message to be sent to an Amazon SNS topic or to an Amazon SQS queue. If the message is to be sent to a queue, you can configure an optional delay (in seconds). If you don't specify a delay, the task assumes the default delay that is associated with the queue.


You can set the following parameters for the task. Required parameters are noted by an asterisk (*). Other parameters are optional.


The default name of the task, Send Message. The delivery target, topic or queue, is appended to the name.

AWS Credentials*

The AWS credentials to use. If needed, choose +, and then add a new AWS connection.

AWS Region*

The AWS Region name to use. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.

Message Target*

The target for the message, a topic in Amazon SNS or an Amazon SQS queue.


The message to send. For the allowed values, see the respective service help pages for Publish and SendMessage.

Topic ARN*

Required parameter only if Message Target is set to SNS Topic. Supply the Amazon Resource Name (ARN) of the topic.

Queue Url*

Required parameter only if Message Target is set to SQS Queue. Supply the URL of the queue.

Delay (seconds)

Available for Amazon SQS queues only. The length of time, in seconds, to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies.