Create Queue
The CreateQueue activity is used to create a SQS queue.
General
On the General tab, select shared resource to establish a connection to the Amazon server. The following table lists the configurations on the General tab of the CreateQueue activity.
Input
On the Input tab, specify input values for the CreateQueue activity. The following table lists the input elements on the Input tab of the CreateQueue activity.
Input Item | Data Type | Description |
---|---|---|
QueueName | String | Required. The name of the queue to create. This name is incorporated into the queue URL returned. |
FIFOQueue | Boolean | Optional. This flag must be set to true if the user wants to create the FIFO queue. The name of the queue must 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.
Value range: 0 to 900 seconds (15 minutes) Default value: 0 |
MaximumMessageSize | Int | Optional. The number of bytes a message can contain before Amazon SQS rejects it.
Integer value range: 1024 bytes (1 KiB) up to 262144 bytes (256 KiB) Default value: 262144 (256 KiB) |
MessageRetentionPeriod | Int | Optional. The number of seconds for which Amazon SQS retains a message.
Integer value range:60 seconds (1 minute) to 1209600 seconds (14 days) Default value:345600 seconds (4 days) |
Policy | String | Optional. The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide. |
ReceiveMessageWaitTimeSeconds | Int | Optional. The time for which a ReceiveMessage call wait for a message to arrive.
Integer value range: 0 to 20 (seconds) Default value: 0 |
RedrivePolicy | String | Optional. The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see 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.
Integer value: 0 to 43200 seconds (12 hours) Default value: 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 |
Output
On the Output tab, find the output value of the CreateQueue activity. The following table lists the output elements on the Output tab of the CreateQueue activity.
Fault
The Fault tab lists exceptions that are generated by this activity.
Fault | Data Type | Description |
---|---|---|
SQSException | N/A | 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, see 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. |