Skip to content

QueueAttributes

Source code in docs_src/capo_kinesis/types/queue_attributes.py
class QueueAttributes(TypedDict, closed=True):
    visibility_timeout_seconds: NotRequired[
        "capo_kinesis.types.visibility_timeout_seconds.VisibilityTimeoutSeconds"
    ]
    """<p>The duration, in seconds, that a record is in flight and not visible to any consumer instance after it is received. A record that is not acknowledged before this duration elapses becomes visible in the queue again and can be received by any consumer instance. If you omit this attribute when you create a queue, the queue uses 30 seconds.</p>"""
    dead_letter_configuration: NotRequired[
        "capo_kinesis.types.dead_letter_configuration.DeadLetterConfiguration"
    ]
    """<p>The dead-letter handling configuration for the queue. If you omit this attribute, dead-letter handling is enabled with a <code>MaxReceiveCount</code> of 6. If you specify it with a <code>TargetType</code> of <code>BUILT_IN</code>, you must also specify <code>MaxReceiveCount</code>.</p>"""

dead_letter_configuration instance-attribute

dead_letter_configuration: NotRequired[DeadLetterConfiguration]

The dead-letter handling configuration for the queue. If you omit this attribute, dead-letter handling is enabled with a MaxReceiveCount of 6. If you specify it with a TargetType of BUILT_IN, you must also specify MaxReceiveCount.

visibility_timeout_seconds instance-attribute

visibility_timeout_seconds: NotRequired[VisibilityTimeoutSeconds]

The duration, in seconds, that a record is in flight and not visible to any consumer instance after it is received. A record that is not acknowledged before this duration elapses becomes visible in the queue again and can be received by any consumer instance. If you omit this attribute when you create a queue, the queue uses 30 seconds.