Interface CfnPipe.PipeSourceSelfManagedKafkaParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeSourceSelfManagedKafkaParametersProperty.Jsii$Proxy
- Enclosing class:
- CfnPipe
@Stability(Stable)
public static interface CfnPipe.PipeSourceSelfManagedKafkaParametersProperty
extends software.amazon.jsii.JsiiSerializable
The parameters for using a self-managed Apache Kafka 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.*; PipeSourceSelfManagedKafkaParametersProperty pipeSourceSelfManagedKafkaParametersProperty = PipeSourceSelfManagedKafkaParametersProperty.builder() .topicName("topicName") // the properties below are optional .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") .vpc(SelfManagedKafkaAccessConfigurationVpcProperty.builder() .securityGroup(List.of("securityGroup")) .subnets(List.of("subnets")) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipe.PipeSourceSelfManagedKafkaParametersProperty
static final class
An implementation forCfnPipe.PipeSourceSelfManagedKafkaParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
An array of server URLs.default Number
The maximum number of records to include in each batch.default String
The name of the destination queue to consume.default Object
The credentials needed to access the resource.default Number
The maximum length of a time to wait for events.default String
The ARN of the Secrets Manager secret used for certification.default String
(Streams only) The position in a stream from which to start reading.The name of the topic that the pipe will read from.default Object
getVpc()
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
-
getTopicName
The name of the topic that the pipe will read from. -
getAdditionalBootstrapServers
An array of server URLs. -
getBatchSize
The maximum number of records to include in each batch. -
getConsumerGroupId
The name of the destination queue to consume. -
getCredentials
The credentials needed to access the resource. -
getMaximumBatchingWindowInSeconds
The maximum length of a time to wait for events. -
getServerRootCaCertificate
The ARN of the Secrets Manager secret used for certification. -
getStartingPosition
(Streams only) The position in a stream from which to start reading. -
getVpc
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used. -
builder
-