interface CfnTopicProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.CfnTopicProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnTopicProps |
Java | software.amazon.awscdk.services.msk.CfnTopicProps |
Python | aws_cdk.aws_msk.CfnTopicProps |
TypeScript | aws-cdk-lib » aws_msk » CfnTopicProps |
Properties for defining a CfnTopic.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-topic.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const cfnTopicProps: msk.CfnTopicProps = {
clusterArn: 'clusterArn',
partitionCount: 123,
replicationFactor: 123,
topicName: 'topicName',
// the properties below are optional
configs: 'configs',
};
Properties
| Name | Type | Description |
|---|---|---|
| cluster | string | The Amazon Resource Name (ARN) of the MSK cluster. |
| partition | number | The number of partitions for the topic. |
| replication | number | The replication factor for the topic. |
| topic | string | The name of the topic. |
| configs? | string | Base64 encoded configuration properties of the topic. |
clusterArn
Type:
string
The Amazon Resource Name (ARN) of the MSK cluster.
partitionCount
Type:
number
The number of partitions for the topic.
replicationFactor
Type:
number
The replication factor for the topic.
topicName
Type:
string
The name of the topic.
configs?
Type:
string
(optional)
Base64 encoded configuration properties of the topic.

.NET
Go
Java
Python
TypeScript