QueueConsumerArgs

data class QueueConsumerArgs(val accountId: Output<String>? = null, val consumerId: Output<String>? = null, val deadLetterQueue: Output<String>? = null, val queueId: Output<String>? = null, val scriptName: Output<String>? = null, val settings: Output<QueueConsumerSettingsArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<QueueConsumerArgs>

Example Usage

resources:
exampleQueueConsumer:
type: cloudflare:QueueConsumer
name: example_queue_consumer
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
queueId: 023e105f4ecef8ad9ca31a8372d0c353
deadLetterQueue: example-queue
scriptName: my-consumer-worker
settings:
batch_size: 50
max_concurrency: 10
max_retries: 3
max_wait_time_ms: 5000
retry_delay: 10
type: worker

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, consumerId: Output<String>? = null, deadLetterQueue: Output<String>? = null, queueId: Output<String>? = null, scriptName: Output<String>? = null, settings: Output<QueueConsumerSettingsArgs>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

A Resource identifier.

Link copied to clipboard
val consumerId: Output<String>? = null

A Resource identifier.

Link copied to clipboard
val deadLetterQueue: Output<String>? = null
Link copied to clipboard
val queueId: Output<String>? = null

A Resource identifier.

Link copied to clipboard
val scriptName: Output<String>? = null

Name of a Worker

Link copied to clipboard
val settings: Output<QueueConsumerSettingsArgs>? = null
Link copied to clipboard
val type: Output<String>? = null

Available values: "worker".

Functions

Link copied to clipboard
open override fun toJava(): QueueConsumerArgs