public static final class SqsEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SqsEventSourceProps
SqsEventSourceProps
SqsEventSourceProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
java.lang.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.
|
java.lang.Boolean |
getReportBatchItemFailures()
Allow functions to return partially successful responses for a batch of records.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getBatchSize()
SqsEventSourceProps
Your 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 SqsEventSourceProps
public final java.lang.Boolean getEnabled()
SqsEventSourceProps
Default: true
getEnabled
in interface SqsEventSourceProps
public final Duration getMaxBatchingWindow()
SqsEventSourceProps
Valid 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
public final java.lang.Boolean getReportBatchItemFailures()
SqsEventSourceProps
Default: false
getReportBatchItemFailures
in interface SqsEventSourceProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()