CopyValueEntryProperty

class aws_cdk.aws_logs.CopyValueEntryProperty(*, source, target, overwrite_if_exists=None)

Bases: object

This object defines one value to be copied with the copyValue processor.

Parameters:
  • source (str) – The key to copy.

  • target (str) – The key of the field to copy the value to.

  • overwrite_if_exists (Optional[bool]) – Specifies whether to overwrite the value if the target key already exists. Default: false

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs

copy_value_entry_property = logs.CopyValueEntryProperty(
    source="source",
    target="target",

    # the properties below are optional
    overwrite_if_exists=False
)

Attributes

overwrite_if_exists

Specifies whether to overwrite the value if the target key already exists.

Default:

false

source

The key to copy.

target

The key of the field to copy the value to.