MoveKeyEntryProperty

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

Bases: object

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

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

  • target (str) – The key to move 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

move_key_entry_property = logs.MoveKeyEntryProperty(
    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 move.

target

The key to move to.