Interface DynamoDBSourceParameters
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,StreamSourceParameters
- All Known Implementing Classes:
DynamoDBSourceParameters.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:41.819Z")
@Stability(Experimental)
public interface DynamoDBSourceParameters
extends software.amazon.jsii.JsiiSerializable, StreamSourceParameters
(experimental) Parameters for the DynamoDB source.
Example:
Queue targetQueue; TableV2 table = TableV2.Builder.create(this, "MyTable") .partitionKey(Attribute.builder() .name("id") .type(AttributeType.STRING) .build()) .dynamoStream(StreamViewType.NEW_IMAGE) .build(); DynamoDBSource pipeSource = DynamoDBSource.Builder.create(table) .startingPosition(DynamoDBStartingPosition.LATEST) .build(); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(pipeSource) .target(new SqsTarget(targetQueue)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDynamoDBSourceParameters
static final class
An implementation forDynamoDBSourceParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) The position in a stream from which to start reading.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.pipes.sources.alpha.StreamSourceParameters
getBatchSize, getDeadLetterTarget, getMaximumBatchingWindow, getMaximumRecordAge, getMaximumRetryAttempts, getOnPartialBatchItemFailure, getParallelizationFactor
-
Method Details
-
getStartingPosition
(experimental) The position in a stream from which to start reading.- See Also:
-
builder
- Returns:
- a
DynamoDBSourceParameters.Builder
ofDynamoDBSourceParameters
-