AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.msk.Replicator
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource Type definition for AWS::MSK::Replicator
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[Sequence[ReplicatorReplicationInfoArgs]] = None,
service_execution_role_arn: Optional[str] = None,
current_version: Optional[str] = None,
description: Optional[str] = None,
replicator_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native: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.
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
The Replicator resource accepts the following input properties:
- Kafka
Clusters List<Pulumi.Aws Native. Msk. Inputs. Replicator Kafka Cluster> - Specifies a list of Kafka clusters which are targets of the replicator.
- Replication
Info List<Pulumi.List Aws Native. Msk. Inputs. Replicator Replication Info> - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- Service
Execution stringRole Arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- Current
Version string - The current version of the MSK replicator.
- Description string
- A summary description of the replicator.
- Replicator
Name string - The name of the replicator.
- List<Pulumi.
Aws Native. Inputs. Tag> - A collection of tags associated with a resource
- Kafka
Clusters []ReplicatorKafka Cluster Args - Specifies a list of Kafka clusters which are targets of the replicator.
- Replication
Info []ReplicatorList Replication Info Args - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- Service
Execution stringRole Arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- Current
Version string - The current version of the MSK replicator.
- Description string
- A summary description of the replicator.
- Replicator
Name string - The name of the replicator.
- Tag
Args - A collection of tags associated with a resource
- kafka
Clusters List<ReplicatorKafka Cluster> - Specifies a list of Kafka clusters which are targets of the replicator.
- replication
Info List<ReplicatorList Replication Info> - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- service
Execution StringRole Arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- current
Version String - The current version of the MSK replicator.
- description String
- A summary description of the replicator.
- replicator
Name String - The name of the replicator.
- List<Tag>
- A collection of tags associated with a resource
- kafka
Clusters ReplicatorKafka Cluster[] - Specifies a list of Kafka clusters which are targets of the replicator.
- replication
Info ReplicatorList Replication Info[] - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- service
Execution stringRole Arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- current
Version string - The current version of the MSK replicator.
- description string
- A summary description of the replicator.
- replicator
Name string - The name of the replicator.
- Tag[]
- A collection of tags associated with a resource
- kafka_
clusters Sequence[ReplicatorKafka Cluster Args] - Specifies a list of Kafka clusters which are targets of the replicator.
- replication_
info_ Sequence[Replicatorlist Replication Info Args] - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- service_
execution_ strrole_ arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- current_
version str - The current version of the MSK replicator.
- description str
- A summary description of the replicator.
- replicator_
name str - The name of the replicator.
- Sequence[Tag
Args] - A collection of tags associated with a resource
- kafka
Clusters List<Property Map> - Specifies a list of Kafka clusters which are targets of the replicator.
- replication
Info List<Property Map>List - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- service
Execution StringRole Arn - The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
- current
Version String - The current version of the MSK replicator.
- description String
- A summary description of the replicator.
- replicator
Name String - The name of the replicator.
- List<Property Map>
- A collection of tags associated with a resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Replicator resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Replicator
Arn string - Amazon Resource Name for the created replicator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Replicator
Arn string - Amazon Resource Name for the created replicator.
- id String
- The provider-assigned unique ID for this managed resource.
- replicator
Arn String - Amazon Resource Name for the created replicator.
- id string
- The provider-assigned unique ID for this managed resource.
- replicator
Arn string - Amazon Resource Name for the created replicator.
- id str
- The provider-assigned unique ID for this managed resource.
- replicator_
arn str - Amazon Resource Name for the created replicator.
- id String
- The provider-assigned unique ID for this managed resource.
- replicator
Arn String - Amazon Resource Name for the created replicator.
Supporting Types
ReplicatorAmazonMskCluster, ReplicatorAmazonMskClusterArgs
- Msk
Cluster stringArn - The ARN of an Amazon MSK cluster.
- Msk
Cluster stringArn - The ARN of an Amazon MSK cluster.
- msk
Cluster StringArn - The ARN of an Amazon MSK cluster.
- msk
Cluster stringArn - The ARN of an Amazon MSK cluster.
- msk_
cluster_ strarn - The ARN of an Amazon MSK cluster.
- msk
Cluster StringArn - The ARN of an Amazon MSK cluster.
ReplicatorConsumerGroupReplication, ReplicatorConsumerGroupReplicationArgs
- Consumer
Groups List<string>To Replicate - List of regular expression patterns indicating the consumer groups to copy.
- Consumer
Groups List<string>To Exclude - 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.
- Consumer
Groups []stringTo Replicate - List of regular expression patterns indicating the consumer groups to copy.
- Consumer
Groups []stringTo Exclude - 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.
- consumer
Groups List<String>To Replicate - List of regular expression patterns indicating the consumer groups to copy.
- consumer
Groups List<String>To Exclude - List of regular expression patterns indicating the consumer groups that should not be replicated.
- detect
And BooleanCopy New Consumer Groups - Whether to periodically check for new consumer groups.
- synchronise
Consumer BooleanGroup Offsets - Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumer
Groups string[]To Replicate - List of regular expression patterns indicating the consumer groups to copy.
- consumer
Groups string[]To Exclude - List of regular expression patterns indicating the consumer groups that should not be replicated.
- detect
And booleanCopy New Consumer Groups - Whether to periodically check for new consumer groups.
- synchronise
Consumer booleanGroup Offsets - Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
- consumer_
groups_ Sequence[str]to_ replicate - List of regular expression patterns indicating the consumer groups to copy.
- consumer_
groups_ Sequence[str]to_ exclude - 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.
- consumer
Groups List<String>To Replicate - List of regular expression patterns indicating the consumer groups to copy.
- consumer
Groups List<String>To Exclude - List of regular expression patterns indicating the consumer groups that should not be replicated.
- detect
And BooleanCopy New Consumer Groups - Whether to periodically check for new consumer groups.
- synchronise
Consumer BooleanGroup Offsets - Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
ReplicatorKafkaCluster, ReplicatorKafkaClusterArgs
- Amazon
Msk Pulumi.Cluster Aws Native. Msk. Inputs. Replicator Amazon Msk Cluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- Vpc
Config Pulumi.Aws Native. Msk. Inputs. Replicator Kafka Cluster Client Vpc Config - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- Amazon
Msk ReplicatorCluster Amazon Msk Cluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- Vpc
Config ReplicatorKafka Cluster Client Vpc Config - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazon
Msk ReplicatorCluster Amazon Msk Cluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- vpc
Config ReplicatorKafka Cluster Client Vpc Config - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazon
Msk ReplicatorCluster Amazon Msk Cluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- vpc
Config ReplicatorKafka Cluster Client Vpc Config - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazon_
msk_ Replicatorcluster Amazon Msk Cluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- vpc_
config ReplicatorKafka Cluster Client Vpc Config - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
- amazon
Msk Property MapCluster - Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required.
- vpc
Config Property Map - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
ReplicatorKafkaClusterClientVpcConfig, ReplicatorKafkaClusterClientVpcConfigArgs
- Subnet
Ids List<string> - The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
- Security
Group List<string>Ids - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used.
- Subnet
Ids []string - The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
- Security
Group []stringIds - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used.
- subnet
Ids List<String> - The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
- security
Group List<String>Ids - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used.
- subnet
Ids string[] - The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
- security
Group string[]Ids - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. 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.
- security_
group_ Sequence[str]ids - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used.
- subnet
Ids List<String> - The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
- security
Group List<String>Ids - The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used.
ReplicatorReplicationInfo, ReplicatorReplicationInfoArgs
- Consumer
Group Pulumi.Replication Aws Native. Msk. Inputs. Replicator Consumer Group Replication - Configuration relating to consumer group replication.
- Source
Kafka stringCluster Arn - Amazon Resource Name of the source Kafka cluster.
- Target
Compression Pulumi.Type Aws Native. Msk. Replicator Replication Info Target Compression Type - The type of compression to use writing records to target Kafka cluster.
- Target
Kafka stringCluster Arn - Amazon Resource Name of the target Kafka cluster.
- Topic
Replication Pulumi.Aws Native. Msk. Inputs. Replicator Topic Replication - Configuration relating to topic replication.
- Consumer
Group ReplicatorReplication Consumer Group Replication - Configuration relating to consumer group replication.
- Source
Kafka stringCluster Arn - Amazon Resource Name of the source Kafka cluster.
- Target
Compression ReplicatorType Replication Info Target Compression Type - The type of compression to use writing records to target Kafka cluster.
- Target
Kafka stringCluster Arn - Amazon Resource Name of the target Kafka cluster.
- Topic
Replication ReplicatorTopic Replication - Configuration relating to topic replication.
- consumer
Group ReplicatorReplication Consumer Group Replication - Configuration relating to consumer group replication.
- source
Kafka StringCluster Arn - Amazon Resource Name of the source Kafka cluster.
- target
Compression ReplicatorType Replication Info Target Compression Type - The type of compression to use writing records to target Kafka cluster.
- target
Kafka StringCluster Arn - Amazon Resource Name of the target Kafka cluster.
- topic
Replication ReplicatorTopic Replication - Configuration relating to topic replication.
- consumer
Group ReplicatorReplication Consumer Group Replication - Configuration relating to consumer group replication.
- source
Kafka stringCluster Arn - Amazon Resource Name of the source Kafka cluster.
- target
Compression ReplicatorType Replication Info Target Compression Type - The type of compression to use writing records to target Kafka cluster.
- target
Kafka stringCluster Arn - Amazon Resource Name of the target Kafka cluster.
- topic
Replication ReplicatorTopic Replication - Configuration relating to topic replication.
- consumer_
group_ Replicatorreplication Consumer Group Replication - Configuration relating to consumer group replication.
- source_
kafka_ strcluster_ arn - Amazon Resource Name of the source Kafka cluster.
- target_
compression_ Replicatortype Replication Info Target Compression Type - The type of compression to use writing records to target Kafka cluster.
- target_
kafka_ strcluster_ arn - Amazon Resource Name of the target Kafka cluster.
- topic_
replication ReplicatorTopic Replication - Configuration relating to topic replication.
- consumer
Group Property MapReplication - Configuration relating to consumer group replication.
- source
Kafka StringCluster Arn - Amazon Resource Name of the source Kafka cluster.
- target
Compression "NONE" | "GZIP" | "SNAPPY" | "LZ4" | "ZSTD"Type - The type of compression to use writing records to target Kafka cluster.
- target
Kafka StringCluster Arn - Amazon Resource Name of the target Kafka cluster.
- topic
Replication Property Map - Configuration relating to topic replication.
ReplicatorReplicationInfoTargetCompressionType, ReplicatorReplicationInfoTargetCompressionTypeArgs
- None
- NONE
- Gzip
- GZIP
- Snappy
- SNAPPY
- Lz4
- LZ4
- Zstd
- ZSTD
- Replicator
Replication Info Target Compression Type None - NONE
- Replicator
Replication Info Target Compression Type Gzip - GZIP
- Replicator
Replication Info Target Compression Type Snappy - SNAPPY
- Replicator
Replication Info Target Compression Type Lz4 - LZ4
- Replicator
Replication Info Target Compression Type Zstd - ZSTD
- None
- NONE
- Gzip
- GZIP
- Snappy
- SNAPPY
- Lz4
- LZ4
- Zstd
- ZSTD
- None
- NONE
- Gzip
- GZIP
- Snappy
- SNAPPY
- Lz4
- LZ4
- Zstd
- ZSTD
- NONE
- NONE
- GZIP
- GZIP
- SNAPPY
- SNAPPY
- LZ4
- LZ4
- ZSTD
- ZSTD
- "NONE"
- NONE
- "GZIP"
- GZIP
- "SNAPPY"
- SNAPPY
- "LZ4"
- LZ4
- "ZSTD"
- ZSTD
ReplicatorReplicationStartingPosition, ReplicatorReplicationStartingPositionArgs
ReplicatorReplicationStartingPositionType, ReplicatorReplicationStartingPositionTypeArgs
- Latest
- LATEST
- Earliest
- EARLIEST
- Replicator
Replication Starting Position Type Latest - LATEST
- Replicator
Replication Starting Position Type Earliest - EARLIEST
- Latest
- LATEST
- Earliest
- EARLIEST
- Latest
- LATEST
- Earliest
- EARLIEST
- LATEST
- LATEST
- EARLIEST
- EARLIEST
- "LATEST"
- LATEST
- "EARLIEST"
- EARLIEST
ReplicatorTopicReplication, ReplicatorTopicReplicationArgs
- Topics
To List<string>Replicate - 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 Pulumi.Aws Native. Msk. Inputs. Replicator Replication Starting Position - Configuration for specifying the position in the topics to start replicating from.
- Topics
To List<string>Exclude - List of regular expression patterns indicating the topics that should not be replicated.
- Topics
To []stringReplicate - 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 Starting Position - Configuration for specifying the position in the topics to start replicating from.
- Topics
To []stringExclude - List of regular expression patterns indicating the topics that should not be replicated.
- topics
To List<String>Replicate - List of regular expression patterns indicating the topics to copy.
- copy
Access BooleanControl Lists For Topics - Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copy
Topic BooleanConfigurations - Whether to periodically configure remote topics to match their corresponding upstream topics.
- detect
And BooleanCopy New Topics - Whether to periodically check for new topics and partitions.
- starting
Position ReplicatorReplication Starting Position - Configuration for specifying the position in the topics to start replicating from.
- topics
To List<String>Exclude - List of regular expression patterns indicating the topics that should not be replicated.
- topics
To string[]Replicate - List of regular expression patterns indicating the topics to copy.
- copy
Access booleanControl Lists For Topics - Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copy
Topic booleanConfigurations - Whether to periodically configure remote topics to match their corresponding upstream topics.
- detect
And booleanCopy New Topics - Whether to periodically check for new topics and partitions.
- starting
Position ReplicatorReplication Starting Position - Configuration for specifying the position in the topics to start replicating from.
- topics
To string[]Exclude - List of regular expression patterns indicating the topics that should not be replicated.
- topics_
to_ Sequence[str]replicate - 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 Starting Position - Configuration for specifying the position in the topics to start replicating from.
- topics_
to_ Sequence[str]exclude - List of regular expression patterns indicating the topics that should not be replicated.
- topics
To List<String>Replicate - List of regular expression patterns indicating the topics to copy.
- copy
Access BooleanControl Lists For Topics - Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- copy
Topic BooleanConfigurations - Whether to periodically configure remote topics to match their corresponding upstream topics.
- detect
And BooleanCopy New Topics - Whether to periodically check for new topics and partitions.
- starting
Position Property Map - Configuration for specifying the position in the topics to start replicating from.
- topics
To List<String>Exclude - List of regular expression patterns indicating the topics that should not be replicated.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi