Skip to content

Create queue

async_boto.validation.sqs.create_queue

QueueAttributes

Bases: BaseModel

Represents the attributes for creating an SQS queue.

ATTRIBUTE DESCRIPTION
DelaySeconds

The length of time, in seconds, for which the delivery of all messages in the queue is delayed.

TYPE: Optional[int]

MaximumMessageSize

The limit of how many bytes a message can contain before Amazon SQS rejects it.

TYPE: Optional[int]

MessageRetentionPeriod

The length of time, in seconds, for which Amazon SQS retains a message.

TYPE: Optional[int]

Policy

The queue's policy.

TYPE: Optional[str]

ReceiveMessageWaitTimeSeconds

The length of time, in seconds, for which a ReceiveMessage action waits for a message to arrive.

TYPE: Optional[int]

VisibilityTimeout

The visibility timeout for the queue, in seconds.

TYPE: Optional[int]

RedrivePolicy

The string that includes the parameters for the dead-letter queue functionality of the source queue.

TYPE: Optional[str]

RedriveAllowPolicy

The string that includes the parameters for the permissions for the dead-letter queue redrive permission.

TYPE: Optional[str]

KmsMasterKeyId

The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom CMK.

TYPE: Optional[str]

KmsDataKeyReusePeriodSeconds

The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.

TYPE: Optional[int]

SqsManagedSseEnabled

Enables server-side queue encryption using SQS owned encryption keys.

TYPE: Optional[bool]

FifoQueue

Designates a queue as FIFO.

TYPE: Optional[bool]

ContentBasedDeduplication

Enables content-based deduplication.

TYPE: Optional[bool]

DeduplicationScope

Specifies whether message deduplication occurs at the message group or queue level.

TYPE: Optional[Literal['messageGroup', 'queue']]

FifoThroughputLimit

Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group.

TYPE: Optional[Literal['perQueue', 'perMessageGroupId']]

DelaySeconds class-attribute instance-attribute

DelaySeconds = 0

MaximumMessageSize class-attribute instance-attribute

MaximumMessageSize = 262144

MessageRetentionPeriod class-attribute instance-attribute

MessageRetentionPeriod = 345600

Policy class-attribute instance-attribute

Policy = None

ReceiveMessageWaitTimeSeconds class-attribute instance-attribute

ReceiveMessageWaitTimeSeconds = 0

VisibilityTimeout class-attribute instance-attribute

VisibilityTimeout = 30

RedrivePolicy class-attribute instance-attribute

RedrivePolicy = None

RedriveAllowPolicy class-attribute instance-attribute

RedriveAllowPolicy = None

KmsMasterKeyId class-attribute instance-attribute

KmsMasterKeyId = None

KmsDataKeyReusePeriodSeconds class-attribute instance-attribute

KmsDataKeyReusePeriodSeconds = 300

SqsManagedSseEnabled class-attribute instance-attribute

SqsManagedSseEnabled = None

FifoQueue class-attribute instance-attribute

FifoQueue = None

ContentBasedDeduplication class-attribute instance-attribute

ContentBasedDeduplication = None

DeduplicationScope class-attribute instance-attribute

DeduplicationScope = None

FifoThroughputLimit class-attribute instance-attribute

FifoThroughputLimit = None

CreateQueueRequest

Bases: BaseModel

The request accepts the following data in JSON format.

ATTRIBUTE DESCRIPTION
QueueName

The name of the new queue.

TYPE: str

Attributes

A map of attributes with their corresponding values.

TYPE: Optional[QueueAttributes]

tags

Add cost allocation tags to the specified Amazon SQS queue.

TYPE: Optional[Dict[str, str]]

QueueName instance-attribute

QueueName

Attributes class-attribute instance-attribute

Attributes = None

tags class-attribute instance-attribute

tags = None

CreateQueueResponse

Bases: BaseModel

The response returned in JSON format by the service.

ATTRIBUTE DESCRIPTION
QueueUrl

The URL of the created Amazon SQS queue.

TYPE: str

QueueUrl instance-attribute

QueueUrl