AWS::KafkaConnect::ConnectorCreates a connector using the specified properties.
import { CfnConnector } from 'aws-cdk-lib/aws-kafkaconnect';Or use the module namespace:
import * as kafkaconnect from 'aws-cdk-lib/aws-kafkaconnect';
// kafkaconnect.CfnConnectorConfiguration passed to the constructor as CfnConnectorProps.
capacityRequiredIResolvable | CapacityPropertyThe connector's compute capacity settings.
connectorConfigurationRequired{ [key: string]: string } | IResolvableThe configuration of the connector.
connectorNameRequiredstringThe name of the connector. The connector name must be unique and can include up to 128 characters. Valid characters you can include in a connector name are: a-z, A-Z, 0-9, and -.
kafkaClusterRequiredIResolvable | KafkaClusterPropertyThe details of the Apache Kafka cluster to which the connector is connected.
kafkaClusterClientAuthenticationRequiredIResolvable | KafkaClusterClientAuthenticationPropertyThe type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.
kafkaClusterEncryptionInTransitRequiredIResolvable | KafkaClusterEncryptionInTransitPropertyDetails of encryption in transit to the Apache Kafka cluster.
kafkaConnectVersionRequiredstringThe version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
pluginsRequiredIResolvable | IResolvable | PluginProperty[]Specifies which plugin to use for the connector. You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.
serviceExecutionRoleArnRequiredstringThe Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
connectorDescriptionOptionalstringThe description of the connector.
logDeliveryOptionalIResolvable | LogDeliveryPropertyThe settings for delivering connector logs to Amazon CloudWatch Logs.
networkTypeOptionalstringThe network type of the connector. It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.
tagsOptionalCfnTag[]A collection of tags associated with a resource.
workerConfigurationOptionalIResolvable | WorkerConfigurationPropertyThe worker configurations that are in use with the connector.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-kafkaconnectAWS::KafkaConnect::Connector