Class SqsEventSourceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.eventsources.SqsEventSourceProps.Jsii$Proxy
- All Implemented Interfaces:
SqsEventSourceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SqsEventSourceProps
@Stability(Stable)
@Internal
public static final class SqsEventSourceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements SqsEventSourceProps
An implementation for
SqsEventSourceProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.eventsources.SqsEventSourceProps
SqsEventSourceProps.Builder, SqsEventSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SqsEventSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSqsEventSourceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.final BooleanIf the SQS event source mapping should be enabled.final DurationThe maximum amount of time to gather records before invoking the function.final BooleanAllow functions to return partially successful responses for a batch of records.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSqsEventSourceProps.Builder.
-
-
Method Details
-
getBatchSize
Description copied from interface:SqsEventSourcePropsThe largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.Your function receives an event with all the retrieved records.
Valid Range: Minimum value of 1. Maximum value of 10. If
maxBatchingWindowis configured, this value can go up to 10,000.Default: 10
- Specified by:
getBatchSizein interfaceSqsEventSourceProps
-
getEnabled
Description copied from interface:SqsEventSourcePropsIf the SQS event source mapping should be enabled.Default: true
- Specified by:
getEnabledin interfaceSqsEventSourceProps
-
getMaxBatchingWindow
Description copied from interface:SqsEventSourcePropsThe maximum amount of time to gather records before invoking the function.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.
- Specified by:
getMaxBatchingWindowin interfaceSqsEventSourceProps
-
getReportBatchItemFailures
Description copied from interface:SqsEventSourcePropsAllow functions to return partially successful responses for a batch of records.Default: false
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-