Interface SqsSourceParameters
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SqsSourceParameters.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:40.137Z")
@Stability(Experimental)
public interface SqsSourceParameters
extends software.amazon.jsii.JsiiSerializable
(experimental) Parameters for the SQS source.
Example:
Queue sourceQueue; Queue targetQueue; SqsSource pipeSource = SqsSource.Builder.create(sourceQueue) .batchSize(10) .maximumBatchingWindow(Duration.seconds(10)) .build(); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(pipeSource) .target(new SqsTarget(targetQueue)) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forSqsSourceParameters
static final class
An implementation forSqsSourceParameters
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqsSourceParameters.Builder
builder()
default Number
(experimental) The maximum number of records to include in each batch.default Duration
(experimental) The maximum length of a time to wait for events.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBatchSize
(experimental) The maximum number of records to include in each batch.Default: 10
- See Also:
-
getMaximumBatchingWindow
(experimental) The maximum length of a time to wait for events.Default: 1
- See Also:
-
builder
- Returns:
- a
SqsSourceParameters.Builder
ofSqsSourceParameters
-