Class QueueProps.Jsii$Proxy
- All Implemented Interfaces:
QueueProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
QueueProps
QueueProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.sqs.QueueProps
QueueProps.Builder, QueueProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(QueueProps.Builder builder) Constructor that initializes the object based on literal property values passed by theQueueProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanSpecifies whether to enable content-based deduplication.final DurationThe length of time that Amazon SQS reuses a data key before calling KMS again.final DeadLetterQueueSend messages to this queue if they were unsuccessfully dequeued a number of times.final DeduplicationScopeFor high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level.final DurationThe time in seconds that the delivery of all messages in the queue is delayed.final QueueEncryptionWhether the contents of the queue are encrypted, and by what type of key.final IKeyExternal KMS key to use for queue encryption.final BooleanEnforce encryption of data in transit.final BooleangetFifo()Whether this a first-in-first-out (FIFO) queue.final FifoThroughputLimitFor high throughput for FIFO queues, specifies whether the FIFO queue throughput quota applies to the entire queue or per message group.final NumberThe limit of how many bytes that a message can contain before Amazon SQS rejects it.final StringA name for the queue.final DurationDefault wait time for ReceiveMessage calls.final RedriveAllowPolicyThe string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues.final RemovalPolicyPolicy to apply when the queue is removed from the stack.final DurationThe number of seconds that Amazon SQS retains a message.final DurationTimeout of processing a single message.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theQueueProps.Builder.
-
-
Method Details
-
getContentBasedDeduplication
Description copied from interface:QueuePropsSpecifies whether to enable content-based deduplication.During the deduplication interval (5 minutes), Amazon SQS treats messages that are sent with identical content (excluding attributes) as duplicates and delivers only one copy of the message.
If you don't enable content-based deduplication and you want to deduplicate messages, provide an explicit deduplication ID in your SendMessage() call.
(Only applies to FIFO queues.)
Default: false
- Specified by:
getContentBasedDeduplicationin interfaceQueueProps
-
getDataKeyReuse
Description copied from interface:QueuePropsThe length of time that Amazon SQS reuses a data key before calling KMS again.The value must be an integer between 60 (1 minute) and 86,400 (24 hours). The default is 300 (5 minutes).
Default: Duration.minutes(5)
- Specified by:
getDataKeyReusein interfaceQueueProps
-
getDeadLetterQueue
Description copied from interface:QueuePropsSend messages to this queue if they were unsuccessfully dequeued a number of times.Default: no dead-letter queue
- Specified by:
getDeadLetterQueuein interfaceQueueProps
-
getDeduplicationScope
Description copied from interface:QueuePropsFor high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level.(Only applies to FIFO queues.)
Default: DeduplicationScope.QUEUE
- Specified by:
getDeduplicationScopein interfaceQueueProps
-
getDeliveryDelay
Description copied from interface:QueuePropsThe time in seconds that the delivery of all messages in the queue is delayed.You can specify an integer value of 0 to 900 (15 minutes). The default value is 0.
Default: 0
- Specified by:
getDeliveryDelayin interfaceQueueProps
-
getEncryption
Description copied from interface:QueuePropsWhether the contents of the queue are encrypted, and by what type of key.Be aware that encryption is not available in all regions, please see the docs for current availability details.
Default: SQS_MANAGED (SSE-SQS) for newly created queues
- Specified by:
getEncryptionin interfaceQueueProps
-
getEncryptionMasterKey
Description copied from interface:QueuePropsExternal KMS key to use for queue encryption.Individual messages will be encrypted using data keys. The data keys in turn will be encrypted using this key, and reused for a maximum of
dataKeyReuseSecsseconds.If the 'encryptionMasterKey' property is set, 'encryption' type will be implicitly set to "KMS".
Default: If encryption is set to KMS and not specified, a key will be created.
- Specified by:
getEncryptionMasterKeyin interfaceQueueProps
-
getEnforceSSL
Description copied from interface:QueuePropsEnforce encryption of data in transit.Default: false
- Specified by:
getEnforceSSLin interfaceQueueProps- See Also:
-
getFifo
Description copied from interface:QueuePropsWhether this a first-in-first-out (FIFO) queue.Default: false, unless queueName ends in '.fifo' or 'contentBasedDeduplication' is true.
- Specified by:
getFifoin interfaceQueueProps
-
getFifoThroughputLimit
Description copied from interface:QueuePropsFor high throughput for FIFO queues, specifies whether the FIFO queue throughput quota applies to the entire queue or per message group.(Only applies to FIFO queues.)
Default: FifoThroughputLimit.PER_QUEUE
- Specified by:
getFifoThroughputLimitin interfaceQueueProps
-
getMaxMessageSizeBytes
Description copied from interface:QueuePropsThe limit of how many bytes that a message can contain before Amazon SQS rejects it.You can specify an integer value from 1024 bytes (1 KiB) to 1048576 bytes (1 MiB). The default value is 1048576 (1 MiB).
Default: 1MiB
- Specified by:
getMaxMessageSizeBytesin interfaceQueueProps
-
getQueueName
Description copied from interface:QueuePropsA name for the queue.If specified and this is a FIFO queue, must end in the string '.fifo'.
Default: CloudFormation-generated name
- Specified by:
getQueueNamein interfaceQueueProps
-
getReceiveMessageWaitTime
Description copied from interface:QueuePropsDefault wait time for ReceiveMessage calls.Does not wait if set to 0, otherwise waits this amount of seconds by default for messages to arrive.
For more information, see Amazon SQS Long Poll.
Default: 0
- Specified by:
getReceiveMessageWaitTimein interfaceQueueProps
-
getRedriveAllowPolicy
Description copied from interface:QueuePropsThe string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues.Default: - All source queues can designate this queue as their dead-letter queue.
- Specified by:
getRedriveAllowPolicyin interfaceQueueProps
-
getRemovalPolicy
Description copied from interface:QueuePropsPolicy to apply when the queue is removed from the stack.Even though queues are technically stateful, their contents are transient and it is common to add and remove Queues while rearchitecting your application. The default is therefore
DESTROY. Change it toRETAINif the messages are so valuable that accidentally losing them would be unacceptable.Default: RemovalPolicy.DESTROY
- Specified by:
getRemovalPolicyin interfaceQueueProps
-
getRetentionPeriod
Description copied from interface:QueuePropsThe number of seconds that 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).
Default: Duration.days(4)
- Specified by:
getRetentionPeriodin interfaceQueueProps
-
getVisibilityTimeout
Description copied from interface:QueuePropsTimeout of processing a single message.After dequeuing, the processor has this much time to handle the message and delete it from the queue before it becomes visible again for dequeueing by another processor.
Values must be from 0 to 43200 seconds (12 hours). If you don't specify a value, AWS CloudFormation uses the default value of 30 seconds.
Default: Duration.seconds(30)
- Specified by:
getVisibilityTimeoutin interfaceQueueProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-