Create Queue

The CreateQueue activity is used to create a SQS queue.

General

In the General tab, you can select shared resource to establish a connection to the Amazon server. The following table lists the configurations in the General tab of the CreateQueue activity.

Field Module Property? Description
Name No Name to be displayed as a label for the activity in the process.
SQS Client Yes Select SQS Client configuration either from an existing resource or create a new resource, by using the Choose/Create Default Resource icon .

Description

In the Description tab, you can provide a short description for the CreateQueue activity.

Input

In the Input tab, you can specify input values for the CreateQueue activity. The following table lists the input elements in the Input tab of the CreateQueue activity.

Input Item Data Type Description
QueueName String Required. The name of the queue to create. This name will be incorporated into the queue URL returned.
FIFOQueue Boolean Optional. This flag needs to be set to true if the user wants to create the FIFO queue. The name of the queue should have .fifo as a suffix.
ContentBasedDeduplication Boolean Optional. This field is used for enabling or disabling content based deduplication for the FIFO queue.
DelaySeconds Int Optional. The time in seconds for which the delivery of all messages in the queue is delayed. It is an integer value ranging from 0 to 900 seconds (15 minutes). The default for this attribute is 0 (zero).
MaximumMessageSize Int Optional. The number of bytes a message can contain before Amazon SQS rejects it. It is an integer value ranging from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default value for this attribute is 262144 (256 KiB).
MessageRetentionPeriod Int Optional. The number of seconds for which Amazon SQS retains a message. It is an integer value in seconds, ranging from 60 seconds (1 minute) to 1209600 seconds (14 days). The default value is 345600 seconds (4 days).
Policy String Optional. The queue's policy. A valid AWS policy. For more information about policy structure, refer to Overview of AWS IAM Policies in the Amazon IAM User Guide.
ReceiveMessageWaitTimeSeconds Int Optional. The time for which a ReceiveMessage call will wait for a message to arrive. It is an integer value ranging from 0 to 20 (seconds).The default value for this attribute is 0.
RedrivePolicy String Optional. The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, refer to Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
VisibilityTimeout Int Optional. The visibility timeout for the queue is a period of time, during which SQS prevents other consuming components from receiving and processing that queue. This is an integer value which can range from 0 to 43200 seconds (12 hours). The default value for this attribute is 30 seconds.
Permissions Complex Optional. Permissions contribute to the policy for the queue. Permissions permit queues to be shared with other principles (userIDs).
Label String An arbitrary label for the permission.
AccountId String One or more Amazon Account IDs for which the permission is to be applied.
Action String One or more actions the client wants to allow for the specified principals. The following values are valid values:

* | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes | GetQueueUrl.

Note: If you enter a value in any one of the fields Label, AccountId, or Action, then you need to enter values for remaining two fields, as these fields become required fields.

Output

In the Output tab, you can find the output value of the CreateQueue activity. The following table lists the output elements in the Output tab of the CreateQueue activity.

Output Item Data Type Description
QueueName String Provides the queue name from the input schema.
QueueUrl String The URL for the created SQS queue.

Fault

The Fault tab lists exceptions that are generated by this activity.

Fault Data Type Description
SQSException Any exception generated by the activity after execution. It has the following fields: ErrorCode and ErrorMessage.
ErrorCode String The plug-in error code for the exception. For more information, refer to Error Codes topic.
ErrorMessage String The plug-in error message for the exception. It contains the error message from the AWS SQS API call that failed.