Class CfnReplicator
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.msk.CfnReplicator
- All Implemented Interfaces:
IInspectable,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:58.192Z")
@Stability(Stable)
public class CfnReplicator
extends CfnResource
implements IInspectable, ITaggableV2
Resource Type definition for AWS::MSK::Replicator.
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.*;
CfnReplicator cfnReplicator = CfnReplicator.Builder.create(this, "MyCfnReplicator")
.kafkaClusters(List.of(KafkaClusterProperty.builder()
.amazonMskCluster(AmazonMskClusterProperty.builder()
.mskClusterArn("mskClusterArn")
.build())
.vpcConfig(KafkaClusterClientVpcConfigProperty.builder()
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.build())
.build()))
.replicationInfoList(List.of(ReplicationInfoProperty.builder()
.consumerGroupReplication(ConsumerGroupReplicationProperty.builder()
.consumerGroupsToReplicate(List.of("consumerGroupsToReplicate"))
// the properties below are optional
.consumerGroupsToExclude(List.of("consumerGroupsToExclude"))
.detectAndCopyNewConsumerGroups(false)
.synchroniseConsumerGroupOffsets(false)
.build())
.sourceKafkaClusterArn("sourceKafkaClusterArn")
.targetCompressionType("targetCompressionType")
.targetKafkaClusterArn("targetKafkaClusterArn")
.topicReplication(TopicReplicationProperty.builder()
.topicsToReplicate(List.of("topicsToReplicate"))
// the properties below are optional
.copyAccessControlListsForTopics(false)
.copyTopicConfigurations(false)
.detectAndCopyNewTopics(false)
.topicsToExclude(List.of("topicsToExclude"))
.build())
.build()))
.replicatorName("replicatorName")
.serviceExecutionRoleArn("serviceExecutionRoleArn")
// the properties below are optional
.currentVersion("currentVersion")
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDetails of an Amazon MSK cluster.static final classA fluent builder forCfnReplicator.static interfaceConfiguration relating to consumer group replication.static interfaceDetails of an Amazon VPC which has network connectivity to the Kafka cluster.static interfaceDetails of a Kafka cluster for replication.static interfaceSpecifies configuration for replication between a source and target Kafka cluster.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnReplicator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnReplicator(software.amazon.jsii.JsiiObjectRef objRef) CfnReplicator(software.constructs.Construct scope, String id, CfnReplicatorProps props) -
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) for the created replicator.Tag Manager which manages the tags for this resource.The current version of the MSK replicator.A summary description of the replicator.Specifies a list of Kafka clusters which are targets of the replicator.A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.The name of the replicator.The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.getTags()A collection of tags associated with a resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCurrentVersion(String value) The current version of the MSK replicator.voidsetDescription(String value) A summary description of the replicator.voidsetKafkaClusters(List<Object> value) Specifies a list of Kafka clusters which are targets of the replicator.voidsetKafkaClusters(IResolvable value) Specifies a list of Kafka clusters which are targets of the replicator.voidsetReplicationInfoList(List<Object> value) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.voidA list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.voidsetReplicatorName(String value) The name of the replicator.voidsetServiceExecutionRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.voidA collection of tags associated with a resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnReplicator
protected CfnReplicator(software.amazon.jsii.JsiiObjectRef objRef) -
CfnReplicator
protected CfnReplicator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnReplicator
@Stability(Stable) public CfnReplicator(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReplicatorProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrReplicatorArn
Amazon Resource Name (ARN) for the created replicator. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getKafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator. -
setKafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator. -
setKafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator. -
getReplicationInfoList
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. -
setReplicationInfoList
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. -
setReplicationInfoList
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. -
getReplicatorName
The name of the replicator. -
setReplicatorName
The name of the replicator. -
getServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources. -
setServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources. -
getCurrentVersion
The current version of the MSK replicator. -
setCurrentVersion
The current version of the MSK replicator. -
getDescription
A summary description of the replicator. -
setDescription
A summary description of the replicator. -
getTags
A collection of tags associated with a resource. -
setTags
A collection of tags associated with a resource.
-