Skip to content
v2.275.0

CopyValueEntryProperty Struct ​

This object defines one value to be copied with the copyValue 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 copyValueEntryProperty: logs.CopyValueEntryProperty = {
  source: 'source',
  target: 'target',

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

Properties ​

overwriteIfExistsoptionalbooleanoverwrite_if_existsoptionalbooloverwriteIfExistsoptionalBooleanOverwriteIfExistsoptionalboolOverwriteIfExistsoptional*bool= false#
Specifies whether to overwrite the value if the target key already exists.
sourcestringsourcestrsourceStringSourcestringSource*stringrequired#
The key to copy.
targetstringtargetstrtargetStringTargetstringTarget*stringrequired#
The key of the field to copy the value to.