aws.msk.Replicator
Explore with Pulumi AI
Resource for managing an AWS Managed Streaming for Kafka Replicator.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.msk.Replicator("test", {
    replicatorName: "test-name",
    description: "test-description",
    serviceExecutionRoleArn: sourceAwsIamRole.arn,
    kafkaClusters: [
        {
            amazonMskCluster: {
                mskClusterArn: source.arn,
            },
            vpcConfig: {
                subnetIds: sourceAwsSubnet.map(__item => __item.id),
                securityGroupsIds: [sourceAwsSecurityGroup.id],
            },
        },
        {
            amazonMskCluster: {
                mskClusterArn: target.arn,
            },
            vpcConfig: {
                subnetIds: targetAwsSubnet.map(__item => __item.id),
                securityGroupsIds: [targetAwsSecurityGroup.id],
            },
        },
    ],
    replicationInfoList: {
        sourceKafkaClusterArn: source.arn,
        targetKafkaClusterArn: target.arn,
        targetCompressionType: "NONE",
        topicReplications: [{
            topicNameConfiguration: {
                type: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
            },
            topicsToReplicates: [".*"],
            startingPosition: {
                type: "LATEST",
            },
        }],
        consumerGroupReplications: [{
            consumerGroupsToReplicates: [".*"],
        }],
    },
});
import pulumi
import pulumi_aws as aws
test = aws.msk.Replicator("test",
    replicator_name="test-name",
    description="test-description",
    service_execution_role_arn=source_aws_iam_role["arn"],
    kafka_clusters=[
        {
            "amazon_msk_cluster": {
                "msk_cluster_arn": source["arn"],
            },
            "vpc_config": {
                "subnet_ids": [__item["id"] for __item in source_aws_subnet],
                "security_groups_ids": [source_aws_security_group["id"]],
            },
        },
        {
            "amazon_msk_cluster": {
                "msk_cluster_arn": target["arn"],
            },
            "vpc_config": {
                "subnet_ids": [__item["id"] for __item in target_aws_subnet],
                "security_groups_ids": [target_aws_security_group["id"]],
            },
        },
    ],
    replication_info_list={
        "source_kafka_cluster_arn": source["arn"],
        "target_kafka_cluster_arn": target["arn"],
        "target_compression_type": "NONE",
        "topic_replications": [{
            "topic_name_configuration": {
                "type": "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
            },
            "topics_to_replicates": [".*"],
            "starting_position": {
                "type": "LATEST",
            },
        }],
        "consumer_group_replications": [{
            "consumer_groups_to_replicates": [".*"],
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/msk"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := msk.NewReplicator(ctx, "test", &msk.ReplicatorArgs{
ReplicatorName: pulumi.String("test-name"),
Description: pulumi.String("test-description"),
ServiceExecutionRoleArn: pulumi.Any(sourceAwsIamRole.Arn),
KafkaClusters: msk.ReplicatorKafkaClusterArray{
&msk.ReplicatorKafkaClusterArgs{
AmazonMskCluster: &msk.ReplicatorKafkaClusterAmazonMskClusterArgs{
MskClusterArn: pulumi.Any(source.Arn),
},
VpcConfig: &msk.ReplicatorKafkaClusterVpcConfigArgs{
SubnetIds: []pulumi.String(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:9,27-48)),
SecurityGroupsIds: pulumi.StringArray{
sourceAwsSecurityGroup.Id,
},
},
},
&msk.ReplicatorKafkaClusterArgs{
AmazonMskCluster: &msk.ReplicatorKafkaClusterAmazonMskClusterArgs{
MskClusterArn: pulumi.Any(target.Arn),
},
VpcConfig: &msk.ReplicatorKafkaClusterVpcConfigArgs{
SubnetIds: []pulumi.String(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:17,27-48)),
SecurityGroupsIds: pulumi.StringArray{
targetAwsSecurityGroup.Id,
},
},
},
},
ReplicationInfoList: &msk.ReplicatorReplicationInfoListArgs{
SourceKafkaClusterArn: pulumi.Any(source.Arn),
TargetKafkaClusterArn: pulumi.Any(target.Arn),
TargetCompressionType: pulumi.String("NONE"),
TopicReplications: msk.ReplicatorReplicationInfoListTopicReplicationArray{
&msk.ReplicatorReplicationInfoListTopicReplicationArgs{
TopicNameConfiguration: &msk.ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs{
Type: pulumi.String("PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"),
},
TopicsToReplicates: pulumi.StringArray{
pulumi.String(".*"),
},
StartingPosition: &msk.ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs{
Type: pulumi.String("LATEST"),
},
},
},
ConsumerGroupReplications: msk.ReplicatorReplicationInfoListConsumerGroupReplicationArray{
&msk.ReplicatorReplicationInfoListConsumerGroupReplicationArgs{
ConsumerGroupsToReplicates: pulumi.StringArray{
pulumi.String(".*"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = new Aws.Msk.Replicator("test", new()
    {
        ReplicatorName = "test-name",
        Description = "test-description",
        ServiceExecutionRoleArn = sourceAwsIamRole.Arn,
        KafkaClusters = new[]
        {
            new Aws.Msk.Inputs.ReplicatorKafkaClusterArgs
            {
                AmazonMskCluster = new Aws.Msk.Inputs.ReplicatorKafkaClusterAmazonMskClusterArgs
                {
                    MskClusterArn = source.Arn,
                },
                VpcConfig = new Aws.Msk.Inputs.ReplicatorKafkaClusterVpcConfigArgs
                {
                    SubnetIds = sourceAwsSubnet.Select(__item => __item.Id).ToList(),
                    SecurityGroupsIds = new[]
                    {
                        sourceAwsSecurityGroup.Id,
                    },
                },
            },
            new Aws.Msk.Inputs.ReplicatorKafkaClusterArgs
            {
                AmazonMskCluster = new Aws.Msk.Inputs.ReplicatorKafkaClusterAmazonMskClusterArgs
                {
                    MskClusterArn = target.Arn,
                },
                VpcConfig = new Aws.Msk.Inputs.ReplicatorKafkaClusterVpcConfigArgs
                {
                    SubnetIds = targetAwsSubnet.Select(__item => __item.Id).ToList(),
                    SecurityGroupsIds = new[]
                    {
                        targetAwsSecurityGroup.Id,
                    },
                },
            },
        },
        ReplicationInfoList = new Aws.Msk.Inputs.ReplicatorReplicationInfoListArgs
        {
            SourceKafkaClusterArn = source.Arn,
            TargetKafkaClusterArn = target.Arn,
            TargetCompressionType = "NONE",
            TopicReplications = new[]
            {
                new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationArgs
                {
                    TopicNameConfiguration = new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs
                    {
                        Type = "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
                    },
                    TopicsToReplicates = new[]
                    {
                        ".*",
                    },
                    StartingPosition = new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs
                    {
                        Type = "LATEST",
                    },
                },
            },
            ConsumerGroupReplications = new[]
            {
                new Aws.Msk.Inputs.ReplicatorReplicationInfoListConsumerGroupReplicationArgs
                {
                    ConsumerGroupsToReplicates = new[]
                    {
                        ".*",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.Replicator;
import com.pulumi.aws.msk.ReplicatorArgs;
import com.pulumi.aws.msk.inputs.ReplicatorKafkaClusterArgs;
import com.pulumi.aws.msk.inputs.ReplicatorKafkaClusterAmazonMskClusterArgs;
import com.pulumi.aws.msk.inputs.ReplicatorKafkaClusterVpcConfigArgs;
import com.pulumi.aws.msk.inputs.ReplicatorReplicationInfoListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var test = new Replicator("test", ReplicatorArgs.builder()
            .replicatorName("test-name")
            .description("test-description")
            .serviceExecutionRoleArn(sourceAwsIamRole.arn())
            .kafkaClusters(            
                ReplicatorKafkaClusterArgs.builder()
                    .amazonMskCluster(ReplicatorKafkaClusterAmazonMskClusterArgs.builder()
                        .mskClusterArn(source.arn())
                        .build())
                    .vpcConfig(ReplicatorKafkaClusterVpcConfigArgs.builder()
                        .subnetIds(sourceAwsSubnet.stream().map(element -> element.id()).collect(toList()))
                        .securityGroupsIds(sourceAwsSecurityGroup.id())
                        .build())
                    .build(),
                ReplicatorKafkaClusterArgs.builder()
                    .amazonMskCluster(ReplicatorKafkaClusterAmazonMskClusterArgs.builder()
                        .mskClusterArn(target.arn())
                        .build())
                    .vpcConfig(ReplicatorKafkaClusterVpcConfigArgs.builder()
                        .subnetIds(targetAwsSubnet.stream().map(element -> element.id()).collect(toList()))
                        .securityGroupsIds(targetAwsSecurityGroup.id())
                        .build())
                    .build())
            .replicationInfoList(ReplicatorReplicationInfoListArgs.builder()
                .sourceKafkaClusterArn(source.arn())
                .targetKafkaClusterArn(target.arn())
                .targetCompressionType("NONE")
                .topicReplications(ReplicatorReplicationInfoListTopicReplicationArgs.builder()
                    .topicNameConfiguration(ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs.builder()
                        .type("PREFIXED_WITH_SOURCE_CLUSTER_ALIAS")
                        .build())
                    .topicsToReplicates(".*")
                    .startingPosition(ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs.builder()
                        .type("LATEST")
                        .build())
                    .build())
                .consumerGroupReplications(ReplicatorReplicationInfoListConsumerGroupReplicationArgs.builder()
                    .consumerGroupsToReplicates(".*")
                    .build())
                .build())
            .build());
    }
}
Coming soon!
Create Replicator Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Replicator(name: string, args: ReplicatorArgs, opts?: CustomResourceOptions);@overload
def Replicator(resource_name: str,
               args: ReplicatorArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Replicator(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               kafka_clusters: Optional[Sequence[ReplicatorKafkaClusterArgs]] = None,
               replication_info_list: Optional[ReplicatorReplicationInfoListArgs] = None,
               replicator_name: Optional[str] = None,
               service_execution_role_arn: Optional[str] = None,
               description: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)func NewReplicator(ctx *Context, name string, args ReplicatorArgs, opts ...ResourceOption) (*Replicator, error)public Replicator(string name, ReplicatorArgs args, CustomResourceOptions? opts = null)
public Replicator(String name, ReplicatorArgs args)
public Replicator(String name, ReplicatorArgs args, CustomResourceOptions options)
type: aws:msk:Replicator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicatorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicatorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicatorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicatorResource = new Aws.Msk.Replicator("replicatorResource", new()
{
    KafkaClusters = new[]
    {
        new Aws.Msk.Inputs.ReplicatorKafkaClusterArgs
        {
            AmazonMskCluster = new Aws.Msk.Inputs.ReplicatorKafkaClusterAmazonMskClusterArgs
            {
                MskClusterArn = "string",
            },
            VpcConfig = new Aws.Msk.Inputs.ReplicatorKafkaClusterVpcConfigArgs
            {
                SubnetIds = new[]
                {
                    "string",
                },
                SecurityGroupsIds = new[]
                {
                    "string",
                },
            },
        },
    },
    ReplicationInfoList = new Aws.Msk.Inputs.ReplicatorReplicationInfoListArgs
    {
        ConsumerGroupReplications = new[]
        {
            new Aws.Msk.Inputs.ReplicatorReplicationInfoListConsumerGroupReplicationArgs
            {
                ConsumerGroupsToReplicates = new[]
                {
                    "string",
                },
                ConsumerGroupsToExcludes = new[]
                {
                    "string",
                },
                DetectAndCopyNewConsumerGroups = false,
                SynchroniseConsumerGroupOffsets = false,
            },
        },
        SourceKafkaClusterArn = "string",
        TargetCompressionType = "string",
        TargetKafkaClusterArn = "string",
        TopicReplications = new[]
        {
            new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationArgs
            {
                TopicsToReplicates = new[]
                {
                    "string",
                },
                CopyAccessControlListsForTopics = false,
                CopyTopicConfigurations = false,
                DetectAndCopyNewTopics = false,
                StartingPosition = new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs
                {
                    Type = "string",
                },
                TopicNameConfiguration = new Aws.Msk.Inputs.ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs
                {
                    Type = "string",
                },
                TopicsToExcludes = new[]
                {
                    "string",
                },
            },
        },
        SourceKafkaClusterAlias = "string",
        TargetKafkaClusterAlias = "string",
    },
    ReplicatorName = "string",
    ServiceExecutionRoleArn = "string",
    Description = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := msk.NewReplicator(ctx, "replicatorResource", &msk.ReplicatorArgs{
	KafkaClusters: msk.ReplicatorKafkaClusterArray{
		&msk.ReplicatorKafkaClusterArgs{
			AmazonMskCluster: &msk.ReplicatorKafkaClusterAmazonMskClusterArgs{
				MskClusterArn: pulumi.String("string"),
			},
			VpcConfig: &msk.ReplicatorKafkaClusterVpcConfigArgs{
				SubnetIds: pulumi.StringArray{
					pulumi.String("string"),
				},
				SecurityGroupsIds: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
	},
	ReplicationInfoList: &msk.ReplicatorReplicationInfoListArgs{
		ConsumerGroupReplications: msk.ReplicatorReplicationInfoListConsumerGroupReplicationArray{
			&msk.ReplicatorReplicationInfoListConsumerGroupReplicationArgs{
				ConsumerGroupsToReplicates: pulumi.StringArray{
					pulumi.String("string"),
				},
				ConsumerGroupsToExcludes: pulumi.StringArray{
					pulumi.String("string"),
				},
				DetectAndCopyNewConsumerGroups:  pulumi.Bool(false),
				SynchroniseConsumerGroupOffsets: pulumi.Bool(false),
			},
		},
		SourceKafkaClusterArn: pulumi.String("string"),
		TargetCompressionType: pulumi.String("string"),
		TargetKafkaClusterArn: pulumi.String("string"),
		TopicReplications: msk.ReplicatorReplicationInfoListTopicReplicationArray{
			&msk.ReplicatorReplicationInfoListTopicReplicationArgs{
				TopicsToReplicates: pulumi.StringArray{
					pulumi.String("string"),
				},
				CopyAccessControlListsForTopics: pulumi.Bool(false),
				CopyTopicConfigurations:         pulumi.Bool(false),
				DetectAndCopyNewTopics:          pulumi.Bool(false),
				StartingPosition: &msk.ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs{
					Type: pulumi.String("string"),
				},
				TopicNameConfiguration: &msk.ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs{
					Type: pulumi.String("string"),
				},
				TopicsToExcludes: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		SourceKafkaClusterAlias: pulumi.String("string"),
		TargetKafkaClusterAlias: pulumi.String("string"),
	},
	ReplicatorName:          pulumi.String("string"),
	ServiceExecutionRoleArn: pulumi.String("string"),
	Description:             pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var replicatorResource = new Replicator("replicatorResource", ReplicatorArgs.builder()
    .kafkaClusters(ReplicatorKafkaClusterArgs.builder()
        .amazonMskCluster(ReplicatorKafkaClusterAmazonMskClusterArgs.builder()
            .mskClusterArn("string")
            .build())
        .vpcConfig(ReplicatorKafkaClusterVpcConfigArgs.builder()
            .subnetIds("string")
            .securityGroupsIds("string")
            .build())
        .build())
    .replicationInfoList(ReplicatorReplicationInfoListArgs.builder()
        .consumerGroupReplications(ReplicatorReplicationInfoListConsumerGroupReplicationArgs.builder()
            .consumerGroupsToReplicates("string")
            .consumerGroupsToExcludes("string")
            .detectAndCopyNewConsumerGroups(false)
            .synchroniseConsumerGroupOffsets(false)
            .build())
        .sourceKafkaClusterArn("string")
        .targetCompressionType("string")
        .targetKafkaClusterArn("string")
        .topicReplications(ReplicatorReplicationInfoListTopicReplicationArgs.builder()
            .topicsToReplicates("string")
            .copyAccessControlListsForTopics(false)
            .copyTopicConfigurations(false)
            .detectAndCopyNewTopics(false)
            .startingPosition(ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs.builder()
                .type("string")
                .build())
            .topicNameConfiguration(ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs.builder()
                .type("string")
                .build())
            .topicsToExcludes("string")
            .build())
        .sourceKafkaClusterAlias("string")
        .targetKafkaClusterAlias("string")
        .build())
    .replicatorName("string")
    .serviceExecutionRoleArn("string")
    .description("string")
    .tags(Map.of("string", "string"))
    .build());
replicator_resource = aws.msk.Replicator("replicatorResource",
    kafka_clusters=[{
        "amazon_msk_cluster": {
            "msk_cluster_arn": "string",
        },
        "vpc_config": {
            "subnet_ids": ["string"],
            "security_groups_ids": ["string"],
        },
    }],
    replication_info_list={
        "consumer_group_replications": [{
            "consumer_groups_to_replicates": ["string"],
            "consumer_groups_to_excludes": ["string"],
            "detect_and_copy_new_consumer_groups": False,
            "synchronise_consumer_group_offsets": False,
        }],
        "source_kafka_cluster_arn": "string",
        "target_compression_type": "string",
        "target_kafka_cluster_arn": "string",
        "topic_replications": [{
            "topics_to_replicates": ["string"],
            "copy_access_control_lists_for_topics": False,
            "copy_topic_configurations": False,
            "detect_and_copy_new_topics": False,
            "starting_position": {
                "type": "string",
            },
            "topic_name_configuration": {
                "type": "string",
            },
            "topics_to_excludes": ["string"],
        }],
        "source_kafka_cluster_alias": "string",
        "target_kafka_cluster_alias": "string",
    },
    replicator_name="string",
    service_execution_role_arn="string",
    description="string",
    tags={
        "string": "string",
    })
const replicatorResource = new aws.msk.Replicator("replicatorResource", {
    kafkaClusters: [{
        amazonMskCluster: {
            mskClusterArn: "string",
        },
        vpcConfig: {
            subnetIds: ["string"],
            securityGroupsIds: ["string"],
        },
    }],
    replicationInfoList: {
        consumerGroupReplications: [{
            consumerGroupsToReplicates: ["string"],
            consumerGroupsToExcludes: ["string"],
            detectAndCopyNewConsumerGroups: false,
            synchroniseConsumerGroupOffsets: false,
        }],
        sourceKafkaClusterArn: "string",
        targetCompressionType: "string",
        targetKafkaClusterArn: "string",
        topicReplications: [{
            topicsToReplicates: ["string"],
            copyAccessControlListsForTopics: false,
            copyTopicConfigurations: false,
            detectAndCopyNewTopics: false,
            startingPosition: {
                type: "string",
            },
            topicNameConfiguration: {
                type: "string",
            },
            topicsToExcludes: ["string"],
        }],
        sourceKafkaClusterAlias: "string",
        targetKafkaClusterAlias: "string",
    },
    replicatorName: "string",
    serviceExecutionRoleArn: "string",
    description: "string",
    tags: {
        string: "string",
    },
});
type: aws:msk:Replicator
properties:
    description: string
    kafkaClusters:
        - amazonMskCluster:
            mskClusterArn: string
          vpcConfig:
            securityGroupsIds:
                - string
            subnetIds:
                - string
    replicationInfoList:
        consumerGroupReplications:
            - consumerGroupsToExcludes:
                - string
              consumerGroupsToReplicates:
                - string
              detectAndCopyNewConsumerGroups: false
              synchroniseConsumerGroupOffsets: false
        sourceKafkaClusterAlias: string
        sourceKafkaClusterArn: string
        targetCompressionType: string
        targetKafkaClusterAlias: string
        targetKafkaClusterArn: string
        topicReplications:
            - copyAccessControlListsForTopics: false
              copyTopicConfigurations: false
              detectAndCopyNewTopics: false
              startingPosition:
                type: string
              topicNameConfiguration:
                type: string
              topicsToExcludes:
                - string
              topicsToReplicates:
                - string
    replicatorName: string
    serviceExecutionRoleArn: string
    tags:
        string: string
Replicator Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Replicator resource accepts the following input properties:
- KafkaClusters List<ReplicatorKafka Cluster> 
- A list of Kafka clusters which are targets of the replicator.
- ReplicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- ReplicatorName string
- The name of the replicator.
- ServiceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Description string
- A summary description of the replicator.
- Dictionary<string, string>
- KafkaClusters []ReplicatorKafka Cluster Args 
- A list of Kafka clusters which are targets of the replicator.
- ReplicationInfo ReplicatorList Replication Info List Args 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- ReplicatorName string
- The name of the replicator.
- ServiceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Description string
- A summary description of the replicator.
- map[string]string
- kafkaClusters List<ReplicatorKafka Cluster> 
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName String
- The name of the replicator.
- serviceExecution StringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- description String
- A summary description of the replicator.
- Map<String,String>
- kafkaClusters ReplicatorKafka Cluster[] 
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName string
- The name of the replicator.
- serviceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- description string
- A summary description of the replicator.
- {[key: string]: string}
- kafka_clusters Sequence[ReplicatorKafka Cluster Args] 
- A list of Kafka clusters which are targets of the replicator.
- replication_info_ Replicatorlist Replication Info List Args 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicator_name str
- The name of the replicator.
- service_execution_ strrole_ arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- description str
- A summary description of the replicator.
- Mapping[str, str]
- kafkaClusters List<Property Map>
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo Property MapList 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName String
- The name of the replicator.
- serviceExecution StringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- description String
- A summary description of the replicator.
- Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Replicator resource produces the following output properties:
- Arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- CurrentVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- CurrentVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- arn String
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion string
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- arn str
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- current_version str
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- arn String
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
Look up Existing Replicator Resource
Get an existing Replicator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReplicatorState, opts?: CustomResourceOptions): Replicator@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        current_version: Optional[str] = None,
        description: Optional[str] = None,
        kafka_clusters: Optional[Sequence[ReplicatorKafkaClusterArgs]] = None,
        replication_info_list: Optional[ReplicatorReplicationInfoListArgs] = None,
        replicator_name: Optional[str] = None,
        service_execution_role_arn: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Replicatorfunc GetReplicator(ctx *Context, name string, id IDInput, state *ReplicatorState, opts ...ResourceOption) (*Replicator, error)public static Replicator Get(string name, Input<string> id, ReplicatorState? state, CustomResourceOptions? opts = null)public static Replicator get(String name, Output<String> id, ReplicatorState state, CustomResourceOptions options)resources:  _:    type: aws:msk:Replicator    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- CurrentVersion string
- Description string
- A summary description of the replicator.
- KafkaClusters List<ReplicatorKafka Cluster> 
- A list of Kafka clusters which are targets of the replicator.
- ReplicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- ReplicatorName string
- The name of the replicator.
- ServiceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Dictionary<string, string>
- Dictionary<string, string>
- Arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- CurrentVersion string
- Description string
- A summary description of the replicator.
- KafkaClusters []ReplicatorKafka Cluster Args 
- A list of Kafka clusters which are targets of the replicator.
- ReplicationInfo ReplicatorList Replication Info List Args 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- ReplicatorName string
- The name of the replicator.
- ServiceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- map[string]string
- map[string]string
- arn String
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion String
- description String
- A summary description of the replicator.
- kafkaClusters List<ReplicatorKafka Cluster> 
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName String
- The name of the replicator.
- serviceExecution StringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Map<String,String>
- Map<String,String>
- arn string
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion string
- description string
- A summary description of the replicator.
- kafkaClusters ReplicatorKafka Cluster[] 
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo ReplicatorList Replication Info List 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName string
- The name of the replicator.
- serviceExecution stringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- {[key: string]: string}
- {[key: string]: string}
- arn str
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- current_version str
- description str
- A summary description of the replicator.
- kafka_clusters Sequence[ReplicatorKafka Cluster Args] 
- A list of Kafka clusters which are targets of the replicator.
- replication_info_ Replicatorlist Replication Info List Args 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicator_name str
- The name of the replicator.
- service_execution_ strrole_ arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Mapping[str, str]
- Mapping[str, str]
- arn String
- ARN of the Replicator. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
- currentVersion String
- description String
- A summary description of the replicator.
- kafkaClusters List<Property Map>
- A list of Kafka clusters which are targets of the replicator.
- replicationInfo Property MapList 
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- replicatorName String
- The name of the replicator.
- serviceExecution StringRole Arn 
- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).
- Map<String>
- Map<String>
Supporting Types
ReplicatorKafkaCluster, ReplicatorKafkaClusterArgs      
- AmazonMsk ReplicatorCluster Kafka Cluster Amazon Msk Cluster 
- Details of an Amazon MSK cluster.
- VpcConfig ReplicatorKafka Cluster Vpc Config 
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- AmazonMsk ReplicatorCluster Kafka Cluster Amazon Msk Cluster 
- Details of an Amazon MSK cluster.
- VpcConfig ReplicatorKafka Cluster Vpc Config 
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazonMsk ReplicatorCluster Kafka Cluster Amazon Msk Cluster 
- Details of an Amazon MSK cluster.
- vpcConfig ReplicatorKafka Cluster Vpc Config 
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazonMsk ReplicatorCluster Kafka Cluster Amazon Msk Cluster 
- Details of an Amazon MSK cluster.
- vpcConfig ReplicatorKafka Cluster Vpc Config 
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazon_msk_ Replicatorcluster Kafka Cluster Amazon Msk Cluster 
- Details of an Amazon MSK cluster.
- vpc_config ReplicatorKafka Cluster Vpc Config 
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazonMsk Property MapCluster 
- Details of an Amazon MSK cluster.
- vpcConfig Property Map
- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
ReplicatorKafkaClusterAmazonMskCluster, ReplicatorKafkaClusterAmazonMskClusterArgs            
- MskCluster stringArn 
- The ARN of an Amazon MSK cluster.
- MskCluster stringArn 
- The ARN of an Amazon MSK cluster.
- mskCluster StringArn 
- The ARN of an Amazon MSK cluster.
- mskCluster stringArn 
- The ARN of an Amazon MSK cluster.
- msk_cluster_ strarn 
- The ARN of an Amazon MSK cluster.
- mskCluster StringArn 
- The ARN of an Amazon MSK cluster.
ReplicatorKafkaClusterVpcConfig, ReplicatorKafkaClusterVpcConfigArgs          
- SubnetIds List<string>
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- SecurityGroups List<string>Ids 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
- SubnetIds []string
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- SecurityGroups []stringIds 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
- subnetIds List<String>
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- securityGroups List<String>Ids 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
- subnetIds string[]
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- securityGroups string[]Ids 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
- subnet_ids Sequence[str]
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- security_groups_ Sequence[str]ids 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
- subnetIds List<String>
- The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets to allow communication between your Kafka Cluster and the replicator.
- securityGroups List<String>Ids 
- The AWS security groups to associate with the ENIs used by the replicator. If a security group is not specified, the default security group associated with the VPC is used.
ReplicatorReplicationInfoList, ReplicatorReplicationInfoListArgs        
- ConsumerGroup List<ReplicatorReplications Replication Info List Consumer Group Replication> 
- Configuration relating to consumer group replication.
- SourceKafka stringCluster Arn 
- The ARN of the source Kafka cluster.
- TargetCompression stringType 
- The type of compression to use writing records to target Kafka cluster.
- TargetKafka stringCluster Arn 
- The ARN of the target Kafka cluster.
- TopicReplications List<ReplicatorReplication Info List Topic Replication> 
- Configuration relating to topic replication.
- SourceKafka stringCluster Alias 
- TargetKafka stringCluster Alias 
- ConsumerGroup []ReplicatorReplications Replication Info List Consumer Group Replication 
- Configuration relating to consumer group replication.
- SourceKafka stringCluster Arn 
- The ARN of the source Kafka cluster.
- TargetCompression stringType 
- The type of compression to use writing records to target Kafka cluster.
- TargetKafka stringCluster Arn 
- The ARN of the target Kafka cluster.
- TopicReplications []ReplicatorReplication Info List Topic Replication 
- Configuration relating to topic replication.
- SourceKafka stringCluster Alias 
- TargetKafka stringCluster Alias 
- consumerGroup List<ReplicatorReplications Replication Info List Consumer Group Replication> 
- Configuration relating to consumer group replication.
- sourceKafka StringCluster Arn 
- The ARN of the source Kafka cluster.
- targetCompression StringType 
- The type of compression to use writing records to target Kafka cluster.
- targetKafka StringCluster Arn 
- The ARN of the target Kafka cluster.
- topicReplications List<ReplicatorReplication Info List Topic Replication> 
- Configuration relating to topic replication.
- sourceKafka StringCluster Alias 
- targetKafka StringCluster Alias 
- consumerGroup ReplicatorReplications Replication Info List Consumer Group Replication[] 
- Configuration relating to consumer group replication.
- sourceKafka stringCluster Arn 
- The ARN of the source Kafka cluster.
- targetCompression stringType 
- The type of compression to use writing records to target Kafka cluster.
- targetKafka stringCluster Arn 
- The ARN of the target Kafka cluster.
- topicReplications ReplicatorReplication Info List Topic Replication[] 
- Configuration relating to topic replication.
- sourceKafka stringCluster Alias 
- targetKafka stringCluster Alias 
- consumer_group_ Sequence[Replicatorreplications Replication Info List Consumer Group Replication] 
- Configuration relating to consumer group replication.
- source_kafka_ strcluster_ arn 
- The ARN of the source Kafka cluster.
- target_compression_ strtype 
- The type of compression to use writing records to target Kafka cluster.
- target_kafka_ strcluster_ arn 
- The ARN of the target Kafka cluster.
- topic_replications Sequence[ReplicatorReplication Info List Topic Replication] 
- Configuration relating to topic replication.
- source_kafka_ strcluster_ alias 
- target_kafka_ strcluster_ alias 
- consumerGroup List<Property Map>Replications 
- Configuration relating to consumer group replication.
- sourceKafka StringCluster Arn 
- The ARN of the source Kafka cluster.
- targetCompression StringType 
- The type of compression to use writing records to target Kafka cluster.
- targetKafka StringCluster Arn 
- The ARN of the target Kafka cluster.
- topicReplications List<Property Map>
- Configuration relating to topic replication.
- sourceKafka StringCluster Alias 
- targetKafka StringCluster Alias 
ReplicatorReplicationInfoListConsumerGroupReplication, ReplicatorReplicationInfoListConsumerGroupReplicationArgs              
- ConsumerGroups List<string>To Replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- ConsumerGroups List<string>To Excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- DetectAnd boolCopy New Consumer Groups 
- Whether to periodically check for new consumer groups.
- SynchroniseConsumer boolGroup Offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- ConsumerGroups []stringTo Replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- ConsumerGroups []stringTo Excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- DetectAnd boolCopy New Consumer Groups 
- Whether to periodically check for new consumer groups.
- SynchroniseConsumer boolGroup Offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumerGroups List<String>To Replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- consumerGroups List<String>To Excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- detectAnd BooleanCopy New Consumer Groups 
- Whether to periodically check for new consumer groups.
- synchroniseConsumer BooleanGroup Offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumerGroups string[]To Replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- consumerGroups string[]To Excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- detectAnd booleanCopy New Consumer Groups 
- Whether to periodically check for new consumer groups.
- synchroniseConsumer booleanGroup Offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumer_groups_ Sequence[str]to_ replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- consumer_groups_ Sequence[str]to_ excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- detect_and_ boolcopy_ new_ consumer_ groups 
- Whether to periodically check for new consumer groups.
- synchronise_consumer_ boolgroup_ offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumerGroups List<String>To Replicates 
- List of regular expression patterns indicating the consumer groups to copy.
- consumerGroups List<String>To Excludes 
- List of regular expression patterns indicating the consumer groups that should not be replicated.
- detectAnd BooleanCopy New Consumer Groups 
- Whether to periodically check for new consumer groups.
- synchroniseConsumer BooleanGroup Offsets 
- Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
ReplicatorReplicationInfoListTopicReplication, ReplicatorReplicationInfoListTopicReplicationArgs            
- TopicsTo List<string>Replicates 
- List of regular expression patterns indicating the topics to copy.
- CopyAccess boolControl Lists For Topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- CopyTopic boolConfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- DetectAnd boolCopy New Topics 
- Whether to periodically check for new topics and partitions.
- StartingPosition ReplicatorReplication Info List Topic Replication Starting Position 
- Configuration for specifying the position in the topics to start replicating from.
- TopicName ReplicatorConfiguration Replication Info List Topic Replication Topic Name Configuration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- TopicsTo List<string>Excludes 
- List of regular expression patterns indicating the topics that should not be replica.
- TopicsTo []stringReplicates 
- List of regular expression patterns indicating the topics to copy.
- CopyAccess boolControl Lists For Topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- CopyTopic boolConfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- DetectAnd boolCopy New Topics 
- Whether to periodically check for new topics and partitions.
- StartingPosition ReplicatorReplication Info List Topic Replication Starting Position 
- Configuration for specifying the position in the topics to start replicating from.
- TopicName ReplicatorConfiguration Replication Info List Topic Replication Topic Name Configuration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- TopicsTo []stringExcludes 
- List of regular expression patterns indicating the topics that should not be replica.
- topicsTo List<String>Replicates 
- List of regular expression patterns indicating the topics to copy.
- copyAccess BooleanControl Lists For Topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copyTopic BooleanConfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- detectAnd BooleanCopy New Topics 
- Whether to periodically check for new topics and partitions.
- startingPosition ReplicatorReplication Info List Topic Replication Starting Position 
- Configuration for specifying the position in the topics to start replicating from.
- topicName ReplicatorConfiguration Replication Info List Topic Replication Topic Name Configuration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- topicsTo List<String>Excludes 
- List of regular expression patterns indicating the topics that should not be replica.
- topicsTo string[]Replicates 
- List of regular expression patterns indicating the topics to copy.
- copyAccess booleanControl Lists For Topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copyTopic booleanConfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- detectAnd booleanCopy New Topics 
- Whether to periodically check for new topics and partitions.
- startingPosition ReplicatorReplication Info List Topic Replication Starting Position 
- Configuration for specifying the position in the topics to start replicating from.
- topicName ReplicatorConfiguration Replication Info List Topic Replication Topic Name Configuration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- topicsTo string[]Excludes 
- List of regular expression patterns indicating the topics that should not be replica.
- topics_to_ Sequence[str]replicates 
- List of regular expression patterns indicating the topics to copy.
- copy_access_ boolcontrol_ lists_ for_ topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copy_topic_ boolconfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- detect_and_ boolcopy_ new_ topics 
- Whether to periodically check for new topics and partitions.
- starting_position ReplicatorReplication Info List Topic Replication Starting Position 
- Configuration for specifying the position in the topics to start replicating from.
- topic_name_ Replicatorconfiguration Replication Info List Topic Replication Topic Name Configuration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- topics_to_ Sequence[str]excludes 
- List of regular expression patterns indicating the topics that should not be replica.
- topicsTo List<String>Replicates 
- List of regular expression patterns indicating the topics to copy.
- copyAccess BooleanControl Lists For Topics 
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copyTopic BooleanConfigurations 
- Whether to periodically configure remote topics to match their corresponding upstream topics.
- detectAnd BooleanCopy New Topics 
- Whether to periodically check for new topics and partitions.
- startingPosition Property Map
- Configuration for specifying the position in the topics to start replicating from.
- topicName Property MapConfiguration 
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- topicsTo List<String>Excludes 
- List of regular expression patterns indicating the topics that should not be replica.
ReplicatorReplicationInfoListTopicReplicationStartingPosition, ReplicatorReplicationInfoListTopicReplicationStartingPositionArgs                
- Type string
- The type of replication starting position. Supports LATESTandEARLIEST.
- Type string
- The type of replication starting position. Supports LATESTandEARLIEST.
- type String
- The type of replication starting position. Supports LATESTandEARLIEST.
- type string
- The type of replication starting position. Supports LATESTandEARLIEST.
- type str
- The type of replication starting position. Supports LATESTandEARLIEST.
- type String
- The type of replication starting position. Supports LATESTandEARLIEST.
ReplicatorReplicationInfoListTopicReplicationTopicNameConfiguration, ReplicatorReplicationInfoListTopicReplicationTopicNameConfigurationArgs                  
- Type string
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
- Type string
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
- type String
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
- type string
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
- type str
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
- type String
- The type of topic configuration name. Supports PREFIXED_WITH_SOURCE_CLUSTER_ALIASandIDENTICAL.
Import
Using pulumi import, import MSK replicators using the replicator ARN. For example:
$ pulumi import aws:msk/replicator:Replicator example arn:aws:kafka:us-west-2:123456789012:configuration/example/279c0212-d057-4dba-9aa9-1c4e5a25bfc7-3
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.