interface TransformerProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EventsV2.CfnSubscriberPropsMixin.TransformerProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awseventsv2#CfnSubscriberPropsMixin_TransformerProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnSubscriberPropsMixin.TransformerProperty |
Python | aws_cdk.cfn_property_mixins.aws_eventsv2.CfnSubscriberPropsMixin.TransformerProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_eventsv2 » CfnSubscriberPropsMixin » TransformerProperty |
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 { aws_eventsv2 as eventsv2 } from '@aws-cdk/cfn-property-mixins';
const transformerProperty: eventsv2.CfnSubscriberPropsMixin.TransformerProperty = {
jsonataConfiguration: {
expression: 'expression',
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| jsonata | IResolvable | Jsonata | JSONata transform settings. |
| type? | string | The transform type: RAW delivers the event payload only; |
jsonataConfiguration?
Type:
IResolvable | Jsonata
(optional)
JSONata transform settings.
type?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript