RenameKeyEntryProperty

class aws_cdk.aws_logs.RenameKeyEntryProperty(*, key, rename_to, overwrite_if_exists=None)

Bases: object

This object defines one key that will be renamed with the renameKey processor.

Parameters:
  • key (str) – The key to rename.

  • rename_to (str) – The string to use for the new key name.

  • overwrite_if_exists (Optional[bool]) – Whether to overwrite the target key if it 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

rename_key_entry_property = logs.RenameKeyEntryProperty(
    key="key",
    rename_to="renameTo",

    # the properties below are optional
    overwrite_if_exists=False
)

Attributes

key

The key to rename.

overwrite_if_exists

Whether to overwrite the target key if it already exists.

Default:

false

rename_to

The string to use for the new key name.