@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.548Z") @Stability(value=Experimental) public interface LambdaDestinationOptions extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
LambdaDestinationOptions.Builder
A builder for
LambdaDestinationOptions |
static class |
LambdaDestinationOptions.Jsii$Proxy
An implementation for
LambdaDestinationOptions |
Modifier and Type | Method and Description |
---|---|
static LambdaDestinationOptions.Builder |
builder() |
default Boolean |
getResponseOnly()
(experimental) Whether the destination function receives only the `responsePayload` of the source function.
|
@Stability(value=Experimental) @Nullable default Boolean getResponseOnly()
When set to true
and used as onSuccess
destination, the destination
function will be invoked with the payload returned by the source function.
When set to true
and used as onFailure
destination, the destination
function will be invoked with the error object returned by source function.
See the README of this module to see a full explanation of this option.
Default: false The destination function receives the full invocation record.
@Stability(value=Experimental) static LambdaDestinationOptions.Builder builder()
LambdaDestinationOptions.Builder
of LambdaDestinationOptions
Copyright © 2021. All rights reserved.