# TransformerOptions

Properties for Transformer created from LogGroup.

- Source: [`aws-logs/lib/log-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-logs/lib/log-group.ts#L888)
- Type last changed: v2.207.0 · 24 Jul 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';

declare const processor: logs.IProcessor;
const transformerOptions: logs.TransformerOptions = {
  transformerConfig: [processor],
  transformerName: 'transformerName',
};
```

## Properties

- `transformerConfig`: [IProcessor](/cdk/api/v2/docs/aws-cdk-lib.aws_logs.IProcessor.html)[] (required) — List of processors in a transformer.

- `transformerName`: string (required) — Name of the transformer.
