CfnTopicProps
- class aws_cdk.aws_msk.CfnTopicProps(*, cluster_arn, partition_count, replication_factor, topic_name, configs=None)
Bases:
objectProperties for defining a
CfnTopic.- Parameters:
cluster_arn (
str) – The Amazon Resource Name (ARN) of the MSK cluster.partition_count (
Union[int,float]) – The number of partitions for the topic.replication_factor (
Union[int,float]) – The replication factor for the topic.topic_name (
str) – The name of the topic.configs (
Optional[str]) – Base64 encoded configuration properties 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 import aws_msk as msk cfn_topic_props = msk.CfnTopicProps( cluster_arn="clusterArn", partition_count=123, replication_factor=123, topic_name="topicName", # the properties below are optional configs="configs" )
Attributes
- cluster_arn
The Amazon Resource Name (ARN) of the MSK cluster.
- configs
Base64 encoded configuration properties of the topic.
- partition_count
The number of partitions for the topic.
- replication_factor
The replication factor for the topic.
- topic_name
The name of the topic.