# TransformerProperty

Configuration for transforming events before delivery: the raw payload, the payload with its metadata envelope, or the output of a JSONata expression.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// 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-lib';
const transformerProperty: eventsv2.CfnSubscriber.TransformerProperty = {
  jsonataConfiguration: {
    expression: 'expression',
  },
  type: 'type',
};
```

## Properties

- `jsonataConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSubscriber.JsonataConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eventsv2.CfnSubscriber.JsonataConfigurationProperty.html) — JSONata transform settings.

- `type`: string — 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.
