Skip to content

CreateTopicRequest

Source code in docs_src/capo_kafka/types/create_topic_request.py
class CreateTopicRequest(TypedDict, closed=True):
    cluster_arn: "capo_kafka.types.__string.__string"
    """<p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>"""
    topic_name: NotRequired["capo_kafka.types.__string.__string"]
    """<p>The name of the topic to create.</p>"""
    partition_count: NotRequired["capo_kafka.types.__integer_min1.__integerMin1"]
    """<p>The number of partitions for the topic.</p>"""
    replication_factor: NotRequired["capo_kafka.types.__integer_min1.__integerMin1"]
    """<p>The replication factor for the topic.</p>"""
    configs: NotRequired["capo_kafka.types.__string.__string"]
    """<p>Topic configurations encoded as a Base64 string.</p>"""

cluster_arn instance-attribute

cluster_arn: __string

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

configs instance-attribute

configs: NotRequired[__string]

Topic configurations encoded as a Base64 string.

partition_count instance-attribute

partition_count: NotRequired[__integerMin1]

The number of partitions for the topic.

replication_factor instance-attribute

replication_factor: NotRequired[__integerMin1]

The replication factor for the topic.

topic_name instance-attribute

topic_name: NotRequired[__string]

The name of the topic to create.