AWS::SQS::QueueThe AWS::SQS::Queue resource creates an SQS standard or FIFO queue. Keep the following caveats in mind: + If you don't specify the FifoQueue property, SQS creates a standard queue. You can't change the queue type after you create it and you can't convert an existing standard queue into a FIFO queue. You must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue. For more information, see [Moving from a standard...
16 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ContentBasedDeduplication | boolean | |
DeduplicationScope | string | |
DelaySeconds | integer | |
FifoQueue | boolean | Create-only |
FifoThroughputLimit | string | |
KmsDataKeyReusePeriodSeconds | integer | |
KmsMasterKeyId | string | |
MaximumMessageSize | integer | |
MessageRetentionPeriod | integer | |
QueueName | string | Create-only |
ReceiveMessageWaitTimeSeconds | integer | |
RedriveAllowPolicy | objectstring | |
RedrivePolicy | objectstring | |
SqsManagedSseEnabled | boolean | |
Tags | Array<Tag> | |
VisibilityTimeout | integer |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
QueueUrl | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SQS::Queue
Resources:
MyResource:
Type: AWS::SQS::Queue
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
sqs:CreateQueuesqs:GetQueueUrlsqs:GetQueueAttributessqs:ListQueueTagssqs:TagQueuesqs:GetQueueAttributessqs:ListQueueTagssqs:SetQueueAttributessqs:GetQueueAttributessqs:ListQueueTagssqs:TagQueuesqs:UntagQueuesqs:DeleteQueuesqs:GetQueueAttributessqs:ListQueuesEverything you need to know about SQS on one page. HD quality, print-friendly.
Download Free InfographicQueueUrlThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
FifoQueueQueueName