stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.SQSQueue

Description

The AWS::SQS::Queue type creates an Amazon SQS queue.

Synopsis

Documentation

data SQSQueue Source #

Full data type definition for SQSQueue. See sqsQueue for a more convenient constructor.

Instances

Show SQSQueue Source # 
Generic SQSQueue Source # 

Associated Types

type Rep SQSQueue :: * -> * #

Methods

from :: SQSQueue -> Rep SQSQueue x #

to :: Rep SQSQueue x -> SQSQueue #

ToJSON SQSQueue Source # 
FromJSON SQSQueue Source # 
type Rep SQSQueue Source # 
type Rep SQSQueue = D1 (MetaData "SQSQueue" "Stratosphere.Resources.SQSQueue" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "SQSQueue" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sQSQueueDelaySeconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) ((:*:) (S1 (MetaSel (Just Symbol "_sQSQueueMaximumMessageSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_sQSQueueMessageRetentionPeriod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sQSQueueQueueName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_sQSQueueReceiveMessageWaitTimeSeconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))) ((:*:) (S1 (MetaSel (Just Symbol "_sQSQueueRedrivePolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe SQSRedrivePolicy))) (S1 (MetaSel (Just Symbol "_sQSQueueVisibilityTimeout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))))))

sqsQueue :: SQSQueue Source #

Constructor for SQSQueue containing required fields as arguments.

sqsqDelaySeconds :: Lens' SQSQueue (Maybe (Val Integer')) Source #

The time in seconds that the delivery of all messages in the queue will be delayed. You can specify an integer value of 0 to 900 (15 minutes). The default value is 0.

sqsqMaximumMessageSize :: Lens' SQSQueue (Maybe (Val Integer')) Source #

The limit of how many bytes a message can contain before Amazon SQS rejects it. You can specify an integer value from 1024 bytes (1 KiB) to 262144 bytes (256 KiB). The default value is 262144 (256 KiB).

sqsqMessageRetentionPeriod :: Lens' SQSQueue (Maybe (Val Integer')) Source #

The number of seconds Amazon SQS retains a message. You can specify an integer value from 60 seconds (1 minute) to 1209600 seconds (14 days). The default value is 345600 seconds (4 days).

sqsqQueueName :: Lens' SQSQueue (Maybe (Val Text)) Source #

A name for the queue. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the queue name. For more information, see Name Type. Important If you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.

sqsqReceiveMessageWaitTimeSeconds :: Lens' SQSQueue (Maybe (Val Integer')) Source #

Specifies the duration, in seconds, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, as opposed to returning an empty response if a message is not yet available. You can specify an integer from 1 to 20. The short polling is used as the default or when you specify 0 for this property. For more information, see Amazon SQS Long Poll.

sqsqRedrivePolicy :: Lens' SQSQueue (Maybe SQSRedrivePolicy) Source #

Specifies an existing dead letter queue to receive messages after the source queue (this queue) fails to process a message a specified number of times.

sqsqVisibilityTimeout :: Lens' SQSQueue (Maybe (Val Integer')) Source #

The length of time during which a message will be unavailable once a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. Values must be from 0 to 43200 seconds (12 hours). If no value is specified, the default value of 30 seconds will be used. For more information about SQS Queue visibility timeouts, see Visibility Timeout in the Amazon Simple Queue Service Developer Guide.