Interface CfnTopicProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-23T18:58:22.761Z")
@Stability(Stable)
public interface CfnTopicProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTopic.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.*;
CfnTopicProps cfnTopicProps = CfnTopicProps.builder()
.clusterArn("clusterArn")
.partitionCount(123)
.replicationFactor(123)
.topicName("topicName")
// the properties below are optional
.configs("configs")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicPropsstatic final classAn implementation forCfnTopicProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTopicProps.Builderbuilder()The Amazon Resource Name (ARN) of the MSK cluster.default StringBase64 encoded configuration properties of the topic.The number of partitions for the topic.The replication factor for the topic.The name of the topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterArn
The Amazon Resource Name (ARN) of the MSK cluster.- See Also:
-
getPartitionCount
The number of partitions for the topic.- See Also:
-
getReplicationFactor
The replication factor for the topic.- See Also:
-
getTopicName
The name of the topic.- See Also:
-
getConfigs
Base64 encoded configuration properties of the topic.- See Also:
-
builder
- Returns:
- a
CfnTopicProps.BuilderofCfnTopicProps
-