@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.511Z") @Stability(value=Experimental) public interface EventInvokeConfigOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
EventInvokeConfigOptions.Builder
A builder for
EventInvokeConfigOptions |
static class |
EventInvokeConfigOptions.Jsii$Proxy
An implementation for
EventInvokeConfigOptions |
| Modifier and Type | Method and Description |
|---|---|
static EventInvokeConfigOptions.Builder |
builder() |
default Duration |
getMaxEventAge()
(experimental) The maximum age of a request that Lambda sends to a function for processing.
|
default IDestination |
getOnFailure()
(experimental) The destination for failed invocations.
|
default IDestination |
getOnSuccess()
(experimental) The destination for successful invocations.
|
default Number |
getRetryAttempts()
(experimental) The maximum number of times to retry when the function returns an error.
|
@Stability(value=Experimental) @Nullable default Duration getMaxEventAge()
Minimum: 60 seconds Maximum: 6 hours
Default: Duration.hours(6)
@Stability(value=Experimental) @Nullable default IDestination getOnFailure()
Default: - no destination
@Stability(value=Experimental) @Nullable default IDestination getOnSuccess()
Default: - no destination
@Stability(value=Experimental) @Nullable default Number getRetryAttempts()
Minimum: 0 Maximum: 2
Default: 2
@Stability(value=Experimental) static EventInvokeConfigOptions.Builder builder()
EventInvokeConfigOptions.Builder of EventInvokeConfigOptionsCopyright © 2021. All rights reserved.