@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:54.518Z")
public interface EventInvokeConfigOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; import software.amazon.awscdk.core.*; IDestination destination; EventInvokeConfigOptions eventInvokeConfigOptions = EventInvokeConfigOptions.builder() .maxEventAge(Duration.minutes(30)) .onFailure(destination) .onSuccess(destination) .retryAttempts(123) .build();
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()
The maximum age of a request that Lambda sends to a function for processing.
|
default IDestination |
getOnFailure()
The destination for failed invocations.
|
default IDestination |
getOnSuccess()
The destination for successful invocations.
|
default java.lang.Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
default Duration getMaxEventAge()
Minimum: 60 seconds Maximum: 6 hours
Default: Duration.hours(6)
default IDestination getOnFailure()
Default: - no destination
default IDestination getOnSuccess()
Default: - no destination
default java.lang.Number getRetryAttempts()
Minimum: 0 Maximum: 2
Default: 2
static EventInvokeConfigOptions.Builder builder()
EventInvokeConfigOptions.Builder
of EventInvokeConfigOptions