Interface CfnSubscriber.TransformerProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubscriber.TransformerProperty.Jsii$Proxy
- Enclosing class:
CfnSubscriber
@Stability(Stable)
public static interface CfnSubscriber.TransformerProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for transforming events before delivery: the raw payload, the payload with its metadata envelope, or the output of a JSONata expression.
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.eventsv2.*;
TransformerProperty transformerProperty = TransformerProperty.builder()
.jsonataConfiguration(JsonataConfigurationProperty.builder()
.expression("expression")
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSubscriber.TransformerPropertystatic final classAn implementation forCfnSubscriber.TransformerProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonataConfiguration
JSONata transform settings.Returns union: either
IResolvableorCfnSubscriber.JsonataConfigurationProperty- See Also:
-
getType
The transform type: RAW delivers the event payload only;WITH_METADATA delivers the event with its metadata envelope; JSONATA delivers the output of the JSONata expression in JsonataConfiguration.
- See Also:
-
builder
-