Skip to content
v2.275.0

MoveKeysProperty Struct ​

This processor moves a key from one field to another.

The original key is deleted. For more information about this processor including examples, see moveKeys in the CloudWatch Logs User Guide.

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 moveKeysProperty: logs.MoveKeysProperty = {
  entries: [{
    source: 'source',
    target: 'target',

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

Properties ​

entriesMoveKeyEntryProperty[]entriestyping.List[MoveKeyEntryProperty]entriesList<MoveKeyEntryProperty>EntriesMoveKeyEntryProperty[]Entries*[]MoveKeyEntryPropertyrequired#
An array of objects, where each object contains information about one key to move.