Interface CfnEventInvokeConfig.OnSuccessProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventInvokeConfig.OnSuccessProperty.Jsii$Proxy
- Enclosing class:
CfnEventInvokeConfig
@Stability(Stable)
public static interface CfnEventInvokeConfig.OnSuccessProperty
extends software.amazon.jsii.JsiiSerializable
A destination for events that were processed successfully.
To retain records of successful asynchronous invocations , you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
OnSuccessis not supported inCreateEventSourceMappingorUpdateEventSourceMappingrequests.
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.*;
OnSuccessProperty onSuccessProperty = OnSuccessProperty.builder()
.destination("destination")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventInvokeConfig.OnSuccessPropertystatic final classAn implementation forCfnEventInvokeConfig.OnSuccessProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon Resource Name (ARN) of the destination resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
The Amazon Resource Name (ARN) of the destination resource.Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending
OnFailureevent to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations .- See Also:
-
builder
-