# MoveKeyEntryProperty

This object defines one key that will be moved with the moveKey processor.

- Source: [`aws-logs/lib/transformer.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-logs/lib/transformer.ts#L716)
- 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 moveKeyEntryProperty: logs.MoveKeyEntryProperty = {
  source: 'source',
  target: 'target',

  // the properties below are optional
  overwriteIfExists: false,
};
```

## Properties

- `overwriteIfExists`: boolean = false — Specifies whether to overwrite the value if the target key already exists.

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

- `target`: string (required) — The key to move to.
