Interface CfnEventInvokeConfigPropsMixin.DestinationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventInvokeConfigPropsMixin.DestinationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEventInvokeConfigPropsMixin
@Stability(Stable)
public static interface CfnEventInvokeConfigPropsMixin.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.cfnpropertymixins.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 forCfnEventInvokeConfigPropsMixin.DestinationConfigPropertystatic final classAn implementation forCfnEventInvokeConfigPropsMixin.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
IResolvableorCfnEventInvokeConfigPropsMixin.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
IResolvableorCfnEventInvokeConfigPropsMixin.OnSuccessProperty- See Also:
-
builder
@Stability(Stable) static CfnEventInvokeConfigPropsMixin.DestinationConfigProperty.Builder builder()
-