Skip to content
v2.274.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.CfnTransformer.CopyValueEntryProperty = {
  source: 'source',
  target: 'target',

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

Properties ​

overwriteIfExistsoptionalboolean | IResolvableoverwrite_if_existsoptionaltyping.Union[bool, IResolvable]overwriteIfExistsoptionalBooleanOverwriteIfExistsoptionalboolOverwriteIfExistsoptionalinterface{}#
Specifies whether to overwrite the value if the destination key already exists.

If you omit this, the default is false .

sourcestringsourcestrsourceStringSourcestringSource*stringrequired#
The key to copy.
targetstringtargetstrtargetStringTargetstringTarget*stringrequired#
The key of the field to copy the value to.