Interface CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty.Jsii$Proxy
- Enclosing class:
CfnPipe
@Stability(Stable)
public static interface CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty
extends software.amazon.jsii.JsiiSerializable
The parameters for using an MSK stream as a source.
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.pipes.*;
PipeSourceManagedStreamingKafkaParametersProperty pipeSourceManagedStreamingKafkaParametersProperty = PipeSourceManagedStreamingKafkaParametersProperty.builder()
.topicName("topicName")
// the properties below are optional
.batchSize(123)
.consumerGroupId("consumerGroupId")
.credentials(MSKAccessCredentialsProperty.builder()
.clientCertificateTlsAuth("clientCertificateTlsAuth")
.saslScram512Auth("saslScram512Auth")
.build())
.maximumBatchingWindowInSeconds(123)
.startingPosition("startingPosition")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPipe.PipeSourceManagedStreamingKafkaParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 position in a stream from which to start reading.The name of the topic that the pipe will read from.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicName
The name of the topic that the pipe will read from.- 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
IResolvableorCfnPipe.MSKAccessCredentialsProperty- See Also:
-
getMaximumBatchingWindowInSeconds
The maximum length of a time to wait for events.- See Also:
-
getStartingPosition
The position in a stream from which to start reading.- See Also:
-
builder
@Stability(Stable) static CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty.Builder builder()
-