Interface CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty.Jsii$Proxy
- Enclosing class:
CfnPipePropsMixin
@Stability(Stable)
public static interface CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty
extends software.amazon.jsii.JsiiSerializable
The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by AWS . This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud , CloudKarafka , or Redpanda . For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide .
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.pipes.*;
PipeSourceSelfManagedKafkaParametersProperty pipeSourceSelfManagedKafkaParametersProperty = PipeSourceSelfManagedKafkaParametersProperty.builder()
.additionalBootstrapServers(List.of("additionalBootstrapServers"))
.batchSize(123)
.consumerGroupId("consumerGroupId")
.credentials(SelfManagedKafkaAccessConfigurationCredentialsProperty.builder()
.basicAuth("basicAuth")
.clientCertificateTlsAuth("clientCertificateTlsAuth")
.saslScram256Auth("saslScram256Auth")
.saslScram512Auth("saslScram512Auth")
.build())
.maximumBatchingWindowInSeconds(123)
.serverRootCaCertificate("serverRootCaCertificate")
.startingPosition("startingPosition")
.topicName("topicName")
.vpc(SelfManagedKafkaAccessConfigurationVpcProperty.builder()
.securityGroup(List.of("securityGroup"))
.subnets(List.of("subnets"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An array of server URLs.default NumberThe maximum number of records to include in each batch.default StringThe name of the destination queue to consume.default ObjectThe credentials needed to access the resource.default NumberThe maximum length of a time to wait for events.default StringThe ARN of the Secrets Manager secret used for certification.default StringThe position in a stream from which to start reading.default StringThe name of the topic that the pipe will read from.default ObjectgetVpc()This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalBootstrapServers
An array of server URLs.- See Also:
-
getBatchSize
The maximum number of records to include in each batch.- See Also:
-
getConsumerGroupId
The name of the destination queue to consume.- See Also:
-
getCredentials
The credentials needed to access the resource.Returns union: either
IResolvableorCfnPipePropsMixin.SelfManagedKafkaAccessConfigurationCredentialsProperty- See Also:
-
getMaximumBatchingWindowInSeconds
The maximum length of a time to wait for events.- See Also:
-
getServerRootCaCertificate
The ARN of the Secrets Manager secret used for certification.- See Also:
-
getStartingPosition
The position in a stream from which to start reading.- See Also:
-
getTopicName
The name of the topic that the pipe will read from.- See Also:
-
getVpc
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.Returns union: either
IResolvableorCfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty- See Also:
-
builder
@Stability(Stable) static CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty.Builder builder()
-