@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.569Z") @Stability(value=Experimental) public interface SqsEventSourceProps extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
SqsEventSourceProps.Builder
A builder for
SqsEventSourceProps |
static class |
SqsEventSourceProps.Jsii$Proxy
An implementation for
SqsEventSourceProps |
Modifier and Type | Method and Description |
---|---|
static SqsEventSourceProps.Builder |
builder() |
default Number |
getBatchSize()
(experimental) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
|
default Boolean |
getEnabled()
(experimental) If the SQS event source mapping should be enabled.
|
default Duration |
getMaxBatchingWindow()
(experimental) The maximum amount of time to gather records before invoking the function.
|
@Stability(value=Experimental) @Nullable default Number getBatchSize()
Your function receives an event with all the retrieved records.
Valid Range: Minimum value of 1. Maximum value of 10.
Default: 10
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default Duration getMaxBatchingWindow()
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.
@Stability(value=Experimental) static SqsEventSourceProps.Builder builder()
SqsEventSourceProps.Builder
of SqsEventSourceProps
Copyright © 2021. All rights reserved.