Skip to content

RenameKeyEntry

Source code in docs_src/capo_cloudwatch_logs/types/rename_key_entry.py
class RenameKeyEntry(TypedDict, closed=True):
    key: "capo_cloudwatch_logs.types.key.Key"
    """<p>The key to rename</p>"""
    rename_to: "capo_cloudwatch_logs.types.rename_to.RenameTo"
    """<p>The string to use for the new key name</p>"""
    overwrite_if_exists: (
        "capo_cloudwatch_logs.types.overwrite_if_exists.OverwriteIfExists"
    )
    """<p>Specifies whether to overwrite the existing value if the destination key already exists. The default is <code>false</code> </p>"""

key instance-attribute

key: Key

The key to rename

overwrite_if_exists instance-attribute

overwrite_if_exists: OverwriteIfExists

Specifies whether to overwrite the existing value if the destination key already exists. The default is false

rename_to instance-attribute

rename_to: RenameTo

The string to use for the new key name