Interface CfnPipe.PipeSourceDynamoDBStreamParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeSourceDynamoDBStreamParametersProperty.Jsii$Proxy
- Enclosing class:
CfnPipe
@Stability(Stable)
public static interface CfnPipe.PipeSourceDynamoDBStreamParametersProperty
extends software.amazon.jsii.JsiiSerializable
The parameters for using a DynamoDB 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.*; PipeSourceDynamoDBStreamParametersProperty pipeSourceDynamoDBStreamParametersProperty = 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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipe.PipeSourceDynamoDBStreamParametersProperty
static final class
An implementation forCfnPipe.PipeSourceDynamoDBStreamParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The maximum number of records to include in each batch.default Object
Define the target queue to send dead-letter queue events to.default Number
The maximum length of a time to wait for events.default Number
Discard records older than the specified age.default Number
Discard records after the specified number of retries.default String
Define how to handle item process failures.default Number
The number of batches to process concurrently from each shard.(Streams only) The position in a stream from which to start reading.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStartingPosition
(Streams only) The position in a stream from which to start reading.Valid values :
TRIM_HORIZON | LATEST
- See Also:
-
getBatchSize
The maximum number of records to include in each batch.- See Also:
-
getDeadLetterConfig
Define the target queue to send dead-letter queue events to.- See Also:
-
getMaximumBatchingWindowInSeconds
The maximum length of a time to wait for events.- See Also:
-
getMaximumRecordAgeInSeconds
Discard records older than the specified age.The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
- See Also:
-
getMaximumRetryAttempts
Discard records after the specified number of retries.The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
- See Also:
-
getOnPartialBatchItemFailure
Define how to handle item process failures.AUTOMATIC_BISECT
halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.- See Also:
-
getParallelizationFactor
The number of batches to process concurrently from each shard.The default value is 1.
- See Also:
-
builder
-