@Stability(value=Stable) @Internal public static final class KinesisEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KinesisEventSourceProps
KinesisEventSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeKinesisEventSourceProps.Builder, KinesisEventSourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(KinesisEventSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
KinesisEventSourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
Boolean |
getBisectBatchOnError()
If the function returns an error, split the batch in two and retry.
|
Boolean |
getEnabled()
If the stream event source mapping should be enabled.
|
List<Map<String,Object>> |
getFilters()
Add filter criteria option.
|
Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
Duration |
getMaxRecordAge()
The maximum age of a record that Lambda sends to a function for processing.
|
IEventSourceDlq |
getOnFailure()
An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
Number |
getParallelizationFactor()
The number of batches to process from each shard concurrently.
|
Boolean |
getReportBatchItemFailures()
Allow functions to return partially successful responses for a batch of records.
|
Number |
getRetryAttempts()
Maximum number of retry attempts Valid Range: * Minimum value of 0 * Maximum value of 10000.
|
StartingPosition |
getStartingPosition()
Where to begin consuming the stream.
|
Number |
getStartingPositionTimestamp()
The time from which to start reading, in Unix time seconds.
|
Duration |
getTumblingWindow()
The size of the tumbling windows to group records sent to DynamoDB or Kinesis Valid Range: 0 - 15 minutes.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(KinesisEventSourceProps.Builder builder)
KinesisEventSourceProps.Builder.public final Number getStartingPositionTimestamp()
KinesisEventSourcePropsDefault: - no timestamp
getStartingPositionTimestamp in interface KinesisEventSourcePropspublic final Boolean getBisectBatchOnError()
StreamEventSourcePropsDefault: false
getBisectBatchOnError in interface StreamEventSourcePropspublic final List<Map<String,Object>> getFilters()
StreamEventSourcePropsDefault: - None
getFilters in interface StreamEventSourcePropspublic final Duration getMaxRecordAge()
StreamEventSourcePropsValid Range:
Default: - the retention period configured on the stream
getMaxRecordAge in interface StreamEventSourcePropspublic final IEventSourceDlq getOnFailure()
StreamEventSourcePropsDefault: - discarded records are ignored
getOnFailure in interface StreamEventSourcePropspublic final Number getParallelizationFactor()
StreamEventSourcePropsValid Range:
Default: 1
getParallelizationFactor in interface StreamEventSourcePropspublic final Boolean getReportBatchItemFailures()
StreamEventSourcePropsDefault: false
getReportBatchItemFailures in interface StreamEventSourcePropspublic final Number getRetryAttempts()
StreamEventSourcePropsDefault: - retry until the record expires
getRetryAttempts in interface StreamEventSourcePropspublic final Duration getTumblingWindow()
StreamEventSourcePropsDefault: - None
getTumblingWindow in interface StreamEventSourcePropspublic final StartingPosition getStartingPosition()
BaseStreamEventSourcePropsgetStartingPosition in interface BaseStreamEventSourcePropspublic final Number getBatchSize()
BaseStreamEventSourcePropsYour function receives an event with all the retrieved records.
Valid Range:
Default: 100
getBatchSize in interface BaseStreamEventSourcePropspublic final Boolean getEnabled()
BaseStreamEventSourcePropsDefault: true
getEnabled in interface BaseStreamEventSourcePropspublic final Duration getMaxBatchingWindow()
BaseStreamEventSourcePropsMaximum of Duration.minutes(5).
Default: - Duration.seconds(0) for Kinesis, DynamoDB, and SQS event sources, Duration.millis(500) for MSK, self-managed Kafka, and Amazon MQ.
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.