@Stability(value=Stable) @Internal public static final class SqsEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SqsEventSourceProps
SqsEventSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeSqsEventSourceProps.Builder, SqsEventSourceProps.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(SqsEventSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SqsEventSourceProps.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 |
getEnabled()
If the SQS event source mapping should be enabled.
|
Duration |
getMaxBatchingWindow()
The maximum amount of time to gather records before invoking the function.
|
Boolean |
getReportBatchItemFailures()
Allow functions to return partially successful responses for a batch of records.
|
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(SqsEventSourceProps.Builder builder)
SqsEventSourceProps.Builder.public final Number getBatchSize()
SqsEventSourcePropsYour function receives an event with all the retrieved records.
Valid Range: Minimum value of 1. Maximum value of 10.
If maxBatchingWindow is configured, this value can go up to 10,000.
Default: 10
getBatchSize in interface SqsEventSourcePropspublic final Boolean getEnabled()
SqsEventSourcePropsDefault: true
getEnabled in interface SqsEventSourcePropspublic final Duration getMaxBatchingWindow()
SqsEventSourcePropsValid Range: Minimum value of 0 minutes. Maximum value of 5 minutes.
Default: - no batching window. The lambda function will be invoked immediately with the records that are available.
getMaxBatchingWindow in interface SqsEventSourcePropspublic final Boolean getReportBatchItemFailures()
SqsEventSourcePropsDefault: false
getReportBatchItemFailures in interface SqsEventSourcePropshttps://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.