Default: 0Įncryption ( Optional) – Whether the contents of the queue are encrypted, and by what type of key. You can specify an integer value of 0 to 900 (15 minutes). (Only applies to FIFO queues.) Default: DeduplicationScope.QUEUEĭelivery_delay ( Optional) – The time in seconds that the delivery of all messages in the queue is delayed. Default: no dead-letter queueĭeduplication_scope ( Optional) – For high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level. Default: Duration.minutes(5)ĭead_letter_queue ( Union, None]) – Send messages to this queue if they were unsuccessfully dequeued a number of times. The value must be an integer between 60 (1 minute) and 86,400 (24 hours). (Only applies to FIFO queues.) Default: falseĭata_key_reuse ( Optional) – The length of time that Amazon SQS reuses a data key before calling KMS again. If you don’t enable content-based deduplication and you want to deduplicate messages, provide an explicit deduplication ID in your SendMessage() call. 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. SqsDestination ( dead_letter_queue ) ) Parameters :Ĭontent_based_deduplication ( Optional) – Specifies whether to enable content-based deduplication. from_inline ( "// your code" ), # sqs queue for unsuccessful invocations on_failure = destinations. NODEJS_14_X, handler = "index.handler", code = lambda_. Function ( self, "Fn", runtime = lambda_. Queue ( self, "DeadLetterQueue" ) my_fn = lambda_. # An sqs queue for unsuccessful invocations of a lambda function import aws_cdk.aws_sqs as sqs dead_letter_queue = sqs. aws_cdk.aws_kinesisfirehose_destinations.aws_cdk.aws_globalaccelerator_endpoints.aws_cdk.aws_elasticloadbalancingv2_targets. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |