Interface CfnEventInvokeConfig.DestinationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventInvokeConfig.DestinationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEventInvokeConfig
@Stability(Stable)
public static interface CfnEventInvokeConfig.DestinationConfigProperty
extends software.amazon.jsii.JsiiSerializable
A configuration object that specifies the destination of an event after Lambda processes it.
For more information, see Adding a destination .
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.*;
DestinationConfigProperty destinationConfigProperty = DestinationConfigProperty.builder()
.onFailure(OnFailureProperty.builder()
.destination("destination")
.build())
.onSuccess(OnSuccessProperty.builder()
.destination("destination")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventInvokeConfig.DestinationConfigPropertystatic final classAn implementation forCfnEventInvokeConfig.DestinationConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOnFailure
The destination configuration for failed invocations.When using an Amazon SQS queue as a destination, FIFO queues cannot be used.
Returns union: either
IResolvableorCfnEventInvokeConfig.OnFailureProperty- See Also:
-
getOnSuccess
The destination configuration for successful invocations.When using an Amazon SQS queue as a destination, FIFO queues cannot be used.
Returns union: either
IResolvableorCfnEventInvokeConfig.OnSuccessProperty- See Also:
-
builder
-