# SubstituteStringEntryProperty

This object defines one log field key that will be replaced using the substituteString processor.

- Source: [`aws-logs/lib/transformer.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-logs/lib/transformer.ts#L770)
- 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';
const substituteStringEntryProperty: logs.SubstituteStringEntryProperty = {
  from: 'from',
  source: 'source',
  to: 'to',
};
```

## Properties

- `from`: string (required) — The regular expression string to be replaced.

- `source`: string (required) — The key to modify.

- `to`: string (required) — The string to be substituted for each match of from.
