Skip to content
v2.273.0

MoveKeyEntryProperty Struct ​

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

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 ​

overwriteIfExistsbooleanoverwrite_if_existsbooloverwriteIfExistsBooleanOverwriteIfExistsboolOverwriteIfExists*bool= false#
Specifies whether to overwrite the value if the target key already exists.
sourcestringsourcestrsourceStringSourcestringSource*stringrequired#
The key to move.
targetstringtargetstrtargetStringTargetstringTarget*stringrequired#
The key to move to.