@Stability(value=Experimental) @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(Number batchSize,
Boolean enabled,
Duration maxBatchingWindow)
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()
(experimental) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
Boolean |
getEnabled()
(experimental) If the SQS event source mapping should be enabled.
|
Duration |
getMaxBatchingWindow()
(experimental) The maximum amount of time to gather records before invoking the function.
|
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(Number batchSize, Boolean enabled, Duration maxBatchingWindow)
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.
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 SqsEventSourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.