@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(Number batchSize,
Boolean enabled)
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.
|
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)
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 SqsEventSourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.