CfnTopicMixinProps

class aws_cdk.cfn_property_mixins.aws_msk.CfnTopicMixinProps(*, cluster_arn=None, configs=None, partition_count=None, replication_factor=None, topic_name=None)

Bases: object

Properties for CfnTopicPropsMixin.

Parameters:
  • cluster_arn (Optional[str]) – The Amazon Resource Name (ARN) of the MSK cluster.

  • configs (Optional[str]) – Base64 encoded configuration properties of the topic.

  • partition_count (Union[int, float, None]) – The number of partitions for the topic.

  • replication_factor (Union[int, float, None]) – The replication factor for the topic.

  • topic_name (Optional[str]) – The name of the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_msk as msk

cfn_topic_mixin_props = msk.CfnTopicMixinProps(
    cluster_arn="clusterArn",
    configs="configs",
    partition_count=123,
    replication_factor=123,
    topic_name="topicName"
)

Attributes

cluster_arn

The Amazon Resource Name (ARN) of the MSK cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html#cfn-msk-topic-clusterarn

configs

Base64 encoded configuration properties of the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html#cfn-msk-topic-configs

partition_count

The number of partitions for the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html#cfn-msk-topic-partitioncount

replication_factor

The replication factor for the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html#cfn-msk-topic-replicationfactor

topic_name

The name of the topic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html#cfn-msk-topic-topicname