@Stability(value=Stable) @Internal public static final class SqsEventSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SqsEventSourceProps
SqsEventSourceProps
software.amazon.jsii.JsiiObject.InitializationMode
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.
|
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, jsiiStaticSet
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.protected Jsii$Proxy(SqsEventSourceProps.Builder builder)
SqsEventSourceProps.Builder
.public final 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 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 Boolean getReportBatchItemFailures()
SqsEventSourceProps
Default: false
getReportBatchItemFailures
in interface SqsEventSourceProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.