Class CfnReplicatorProps
Properties for defining a CfnReplicator
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReplicatorProps : Object, ICfnReplicatorProps
Syntax (vb)
Public Class CfnReplicatorProps
Inherits Object
Implements ICfnReplicatorProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var cfnReplicatorProps = new CfnReplicatorProps {
KafkaClusters = new [] { new KafkaClusterProperty {
AmazonMskCluster = new AmazonMskClusterProperty {
MskClusterArn = "mskClusterArn"
},
VpcConfig = new KafkaClusterClientVpcConfigProperty {
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
SecurityGroupIds = new [] { "securityGroupIds" }
}
} },
ReplicationInfoList = new [] { new ReplicationInfoProperty {
ConsumerGroupReplication = new ConsumerGroupReplicationProperty {
ConsumerGroupsToReplicate = new [] { "consumerGroupsToReplicate" },
// the properties below are optional
ConsumerGroupsToExclude = new [] { "consumerGroupsToExclude" },
DetectAndCopyNewConsumerGroups = false,
SynchroniseConsumerGroupOffsets = false
},
SourceKafkaClusterArn = "sourceKafkaClusterArn",
TargetCompressionType = "targetCompressionType",
TargetKafkaClusterArn = "targetKafkaClusterArn",
TopicReplication = new TopicReplicationProperty {
TopicsToReplicate = new [] { "topicsToReplicate" },
// the properties below are optional
CopyAccessControlListsForTopics = false,
CopyTopicConfigurations = false,
DetectAndCopyNewTopics = false,
StartingPosition = new ReplicationStartingPositionProperty {
Type = "type"
},
TopicsToExclude = new [] { "topicsToExclude" }
}
} },
ReplicatorName = "replicatorName",
ServiceExecutionRoleArn = "serviceExecutionRoleArn",
// the properties below are optional
CurrentVersion = "currentVersion",
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnReplicatorProps() |
Properties
CurrentVersion | The current version of the MSK replicator. |
Description | A summary description of the replicator. |
KafkaClusters | Specifies a list of Kafka clusters which are targets of the replicator. |
ReplicationInfoList | A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. |
ReplicatorName | The name of the replicator. |
ServiceExecutionRoleArn | The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources. |
Tags | A collection of tags associated with a resource. |
Constructors
CfnReplicatorProps()
public CfnReplicatorProps()
Properties
CurrentVersion
The current version of the MSK replicator.
public string CurrentVersion { get; set; }
Property Value
System.String
Remarks
Description
A summary description of the replicator.
public string Description { get; set; }
Property Value
System.String
Remarks
KafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator.
public object KafkaClusters { get; set; }
Property Value
System.Object
Remarks
ReplicationInfoList
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
public object ReplicationInfoList { get; set; }
Property Value
System.Object
Remarks
ReplicatorName
The name of the replicator.
public string ReplicatorName { get; set; }
Property Value
System.String
Remarks
ServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
public string ServiceExecutionRoleArn { get; set; }
Property Value
System.String
Remarks
Tags
A collection of tags associated with a resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]