Interface CfnConnector.ApacheKafkaClusterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnector.ApacheKafkaClusterProperty.Jsii$Proxy
- Enclosing class:
CfnConnector
@Stability(Stable)
public static interface CfnConnector.ApacheKafkaClusterProperty
extends software.amazon.jsii.JsiiSerializable
The details of the Apache Kafka cluster to which the connector is connected.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kafkaconnect.*;
ApacheKafkaClusterProperty apacheKafkaClusterProperty = ApacheKafkaClusterProperty.builder()
.bootstrapServers("bootstrapServers")
.vpc(VpcProperty.builder()
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnector.ApacheKafkaClusterPropertystatic final classAn implementation forCfnConnector.ApacheKafkaClusterProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBootstrapServers
The bootstrap servers of the cluster.- See Also:
-
getVpc
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.Returns union: either
IResolvableorCfnConnector.VpcProperty- See Also:
-
builder
-