Interface CfnConnectorMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.*;
CfnConnectorMixinProps cfnConnectorMixinProps = CfnConnectorMixinProps.builder()
.capacity(CapacityProperty.builder()
.autoScaling(AutoScalingProperty.builder()
.maxAutoscalingTaskCount(123)
.maxWorkerCount(123)
.mcuCount(123)
.minWorkerCount(123)
.scaleInPolicy(ScaleInPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.scaleOutPolicy(ScaleOutPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.build())
.provisionedCapacity(ProvisionedCapacityProperty.builder()
.mcuCount(123)
.workerCount(123)
.build())
.build())
.connectorConfiguration(Map.of(
"connectorConfigurationKey", "connectorConfiguration"))
.connectorDescription("connectorDescription")
.connectorName("connectorName")
.kafkaCluster(KafkaClusterProperty.builder()
.apacheKafkaCluster(ApacheKafkaClusterProperty.builder()
.bootstrapServers("bootstrapServers")
.vpc(VpcProperty.builder()
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.build())
.build())
.kafkaClusterClientAuthentication(KafkaClusterClientAuthenticationProperty.builder()
.authenticationType("authenticationType")
.build())
.kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitProperty.builder()
.encryptionType("encryptionType")
.build())
.kafkaConnectVersion("kafkaConnectVersion")
.logDelivery(LogDeliveryProperty.builder()
.workerLogDelivery(WorkerLogDeliveryProperty.builder()
.cloudWatchLogs(CloudWatchLogsLogDeliveryProperty.builder()
.enabled(false)
.logGroup("logGroup")
.build())
.firehose(FirehoseLogDeliveryProperty.builder()
.deliveryStream("deliveryStream")
.enabled(false)
.build())
.s3(S3LogDeliveryProperty.builder()
.bucket("bucket")
.enabled(false)
.prefix("prefix")
.build())
.build())
.build())
.networkType("networkType")
.plugins(List.of(PluginProperty.builder()
.customPlugin(CustomPluginProperty.builder()
.customPluginArn("customPluginArn")
.revision(123)
.build())
.build()))
.serviceExecutionRoleArn("serviceExecutionRoleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.workerConfiguration(WorkerConfigurationProperty.builder()
.revision(123)
.workerConfigurationArn("workerConfigurationArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorMixinPropsstatic final classAn implementation forCfnConnectorMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe connector's compute capacity settings.default ObjectThe configuration of the connector.default StringThe description of the connector.default StringThe name of the connector.default ObjectThe details of the Apache Kafka cluster to which the connector is connected.default ObjectThe type of client authentication used to connect to the Apache Kafka cluster.default ObjectDetails of encryption in transit to the Apache Kafka cluster.default StringThe version of Kafka Connect.default ObjectThe settings for delivering connector logs to Amazon CloudWatch Logs.default StringThe network type of the connector.default ObjectSpecifies which plugin to use for the connector.default StringThe Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.getTags()A collection of tags associated with a resource.default ObjectThe worker configurations that are in use with the connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacity
The connector's compute capacity settings.Returns union: either
IResolvableorCfnConnectorPropsMixin.CapacityProperty- See Also:
-
getConnectorConfiguration
The configuration of the connector.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getConnectorDescription
The description of the connector.- See Also:
-
getConnectorName
The 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 -.
- See Also:
-
getKafkaCluster
The details of the Apache Kafka cluster to which the connector is connected.Returns union: either
IResolvableorCfnConnectorPropsMixin.KafkaClusterProperty- See Also:
-
getKafkaClusterClientAuthentication
The type of client authentication used to connect to the Apache Kafka cluster.The value is NONE when no client authentication is used.
Returns union: either
IResolvableorCfnConnectorPropsMixin.KafkaClusterClientAuthenticationProperty- See Also:
-
getKafkaClusterEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster.Returns union: either
IResolvableorCfnConnectorPropsMixin.KafkaClusterEncryptionInTransitProperty- See Also:
-
getKafkaConnectVersion
The version of Kafka Connect.It has to be compatible with both the Apache Kafka cluster's version and the plugins.
- See Also:
-
getLogDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs.Returns union: either
IResolvableorCfnConnectorPropsMixin.LogDeliveryProperty- See Also:
-
getNetworkType
The network type of the connector.It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.
- See Also:
-
getPlugins
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnConnectorPropsMixin.PluginProperty>- See Also:
-
getServiceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.- See Also:
-
getTags
A collection of tags associated with a resource.- See Also:
-
getWorkerConfiguration
The worker configurations that are in use with the connector.Returns union: either
IResolvableorCfnConnectorPropsMixin.WorkerConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnConnectorMixinProps.BuilderofCfnConnectorMixinProps
-