interface CfnReplicatorProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MSK.CfnReplicatorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnReplicatorProps |
Java | software.amazon.awscdk.services.msk.CfnReplicatorProps |
Python | aws_cdk.aws_msk.CfnReplicatorProps |
TypeScript | aws-cdk-lib » aws_msk » CfnReplicatorProps |
Properties for defining a CfnReplicator
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.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 cfnReplicatorProps: msk.CfnReplicatorProps = {
kafkaClusters: [{
amazonMskCluster: {
mskClusterArn: 'mskClusterArn',
},
vpcConfig: {
subnetIds: ['subnetIds'],
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
},
}],
replicationInfoList: [{
consumerGroupReplication: {
consumerGroupsToReplicate: ['consumerGroupsToReplicate'],
// the properties below are optional
consumerGroupsToExclude: ['consumerGroupsToExclude'],
detectAndCopyNewConsumerGroups: false,
synchroniseConsumerGroupOffsets: false,
},
sourceKafkaClusterArn: 'sourceKafkaClusterArn',
targetCompressionType: 'targetCompressionType',
targetKafkaClusterArn: 'targetKafkaClusterArn',
topicReplication: {
topicsToReplicate: ['topicsToReplicate'],
// the properties below are optional
copyAccessControlListsForTopics: false,
copyTopicConfigurations: false,
detectAndCopyNewTopics: false,
startingPosition: {
type: 'type',
},
topicNameConfiguration: {
type: 'type',
},
topicsToExclude: ['topicsToExclude'],
},
}],
replicatorName: 'replicatorName',
serviceExecutionRoleArn: 'serviceExecutionRoleArn',
// the properties below are optional
currentVersion: 'currentVersion',
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
kafka | IResolvable | IResolvable | Kafka [] | Kafka Clusters to use in setting up sources / targets for replication. |
replication | IResolvable | IResolvable | Replication [] | A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. |
replicator | string | The name of the replicator. |
service | string | The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters). |
current | string | The current version number of the replicator. |
description? | string | A summary description of the replicator. |
tags? | Cfn [] | List of tags to attach to created Replicator. |
kafkaClusters
Type:
IResolvable
|
IResolvable
|
Kafka
[]
Kafka Clusters to use in setting up sources / targets for replication.
replicationInfoList
Type:
IResolvable
|
IResolvable
|
Replication
[]
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
replicatorName
Type:
string
The name of the replicator.
Alpha-numeric characters with '-' are allowed.
serviceExecutionRoleArn
Type:
string
The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
currentVersion?
Type:
string
(optional)
The current version number of the replicator.
description?
Type:
string
(optional)
A summary description of the replicator.
tags?
Type:
Cfn
[]
(optional)
List of tags to attach to created Replicator.