Interface CfnPipe.PipeSourceParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeSourceParametersProperty.Jsii$Proxy
- Enclosing class:
- CfnPipe
@Stability(Stable)
public static interface CfnPipe.PipeSourceParametersProperty
extends software.amazon.jsii.JsiiSerializable
The parameters required to set up a source for your pipe.
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.*;
PipeSourceParametersProperty pipeSourceParametersProperty = PipeSourceParametersProperty.builder()
.activeMqBrokerParameters(PipeSourceActiveMQBrokerParametersProperty.builder()
.credentials(MQBrokerAccessCredentialsProperty.builder()
.basicAuth("basicAuth")
.build())
.queueName("queueName")
// the properties below are optional
.batchSize(123)
.maximumBatchingWindowInSeconds(123)
.build())
.dynamoDbStreamParameters(PipeSourceDynamoDBStreamParametersProperty.builder()
.startingPosition("startingPosition")
// the properties below are optional
.batchSize(123)
.deadLetterConfig(DeadLetterConfigProperty.builder()
.arn("arn")
.build())
.maximumBatchingWindowInSeconds(123)
.maximumRecordAgeInSeconds(123)
.maximumRetryAttempts(123)
.onPartialBatchItemFailure("onPartialBatchItemFailure")
.parallelizationFactor(123)
.build())
.filterCriteria(FilterCriteriaProperty.builder()
.filters(List.of(FilterProperty.builder()
.pattern("pattern")
.build()))
.build())
.kinesisStreamParameters(PipeSourceKinesisStreamParametersProperty.builder()
.startingPosition("startingPosition")
// the properties below are optional
.batchSize(123)
.deadLetterConfig(DeadLetterConfigProperty.builder()
.arn("arn")
.build())
.maximumBatchingWindowInSeconds(123)
.maximumRecordAgeInSeconds(123)
.maximumRetryAttempts(123)
.onPartialBatchItemFailure("onPartialBatchItemFailure")
.parallelizationFactor(123)
.startingPositionTimestamp("startingPositionTimestamp")
.build())
.managedStreamingKafkaParameters(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())
.rabbitMqBrokerParameters(PipeSourceRabbitMQBrokerParametersProperty.builder()
.credentials(MQBrokerAccessCredentialsProperty.builder()
.basicAuth("basicAuth")
.build())
.queueName("queueName")
// the properties below are optional
.batchSize(123)
.maximumBatchingWindowInSeconds(123)
.virtualHost("virtualHost")
.build())
.selfManagedKafkaParameters(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())
.sqsQueueParameters(PipeSourceSqsQueueParametersProperty.builder()
.batchSize(123)
.maximumBatchingWindowInSeconds(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipe.PipeSourceParametersPropertystatic final classAn implementation forCfnPipe.PipeSourceParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe parameters for using an Active MQ broker as a source.default ObjectThe parameters for using a DynamoDB stream as a source.default ObjectThe collection of event patterns used to filter events.default ObjectThe parameters for using a Kinesis stream as a source.default ObjectThe parameters for using an MSK stream as a source.default ObjectThe parameters for using a Rabbit MQ broker as a source.default ObjectThe parameters for using a self-managed Apache Kafka stream as a source.default ObjectThe parameters for using a Amazon SQS stream as a source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActiveMqBrokerParameters
The parameters for using an Active MQ broker as a source. -
getDynamoDbStreamParameters
The parameters for using a DynamoDB stream as a source. -
getFilterCriteria
The collection of event patterns used to filter events.To remove a filter, specify a
FilterCriteriaobject with an empty array ofFilterobjects.For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
-
getKinesisStreamParameters
The parameters for using a Kinesis stream as a source. -
getManagedStreamingKafkaParameters
The parameters for using an MSK stream as a source. -
getRabbitMqBrokerParameters
The parameters for using a Rabbit MQ broker as a source. -
getSelfManagedKafkaParameters
The parameters for using a self-managed Apache Kafka stream as a source. -
getSqsQueueParameters
The parameters for using a Amazon SQS stream as a source. -
builder
-