@Stability(value=Experimental) public static final class EventInvokeConfigProps.Builder extends Object implements software.amazon.jsii.Builder<EventInvokeConfigProps>
EventInvokeConfigProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EventInvokeConfigProps |
build()
Builds the configured instance.
|
EventInvokeConfigProps.Builder |
function(IFunction function)
Sets the value of
EventInvokeConfigProps.getFunction() |
EventInvokeConfigProps.Builder |
maxEventAge(Duration maxEventAge)
Sets the value of
EventInvokeConfigOptions.getMaxEventAge() |
EventInvokeConfigProps.Builder |
onFailure(IDestination onFailure)
Sets the value of
EventInvokeConfigOptions.getOnFailure() |
EventInvokeConfigProps.Builder |
onSuccess(IDestination onSuccess)
Sets the value of
EventInvokeConfigOptions.getOnSuccess() |
EventInvokeConfigProps.Builder |
qualifier(String qualifier)
Sets the value of
EventInvokeConfigProps.getQualifier() |
EventInvokeConfigProps.Builder |
retryAttempts(Number retryAttempts)
Sets the value of
EventInvokeConfigOptions.getRetryAttempts() |
@Stability(value=Experimental) public EventInvokeConfigProps.Builder function(IFunction function)
EventInvokeConfigProps.getFunction()function - The Lambda function. This parameter is required.this@Stability(value=Experimental) public EventInvokeConfigProps.Builder qualifier(String qualifier)
EventInvokeConfigProps.getQualifier()qualifier - The qualifier.this@Stability(value=Experimental) public EventInvokeConfigProps.Builder maxEventAge(Duration maxEventAge)
EventInvokeConfigOptions.getMaxEventAge()maxEventAge - The maximum age of a request that Lambda sends to a function for processing.
Minimum: 60 seconds
Maximum: 6 hoursthis@Stability(value=Experimental) public EventInvokeConfigProps.Builder onFailure(IDestination onFailure)
EventInvokeConfigOptions.getOnFailure()onFailure - The destination for failed invocations.this@Stability(value=Experimental) public EventInvokeConfigProps.Builder onSuccess(IDestination onSuccess)
EventInvokeConfigOptions.getOnSuccess()onSuccess - The destination for successful invocations.this@Stability(value=Experimental) public EventInvokeConfigProps.Builder retryAttempts(Number retryAttempts)
EventInvokeConfigOptions.getRetryAttempts()retryAttempts - The maximum number of times to retry when the function returns an error.
Minimum: 0
Maximum: 2this@Stability(value=Experimental) public EventInvokeConfigProps build()
build in interface software.amazon.jsii.Builder<EventInvokeConfigProps>EventInvokeConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.