Skip to content

AddKeyEntry

Source code in docs_src/capo_cloudwatch_logs/types/add_key_entry.py
class AddKeyEntry(TypedDict, closed=True):
    key: "capo_cloudwatch_logs.types.key.Key"
    """<p>The key of the new entry to be added to the log event</p>"""
    value: "capo_cloudwatch_logs.types.add_key_value.AddKeyValue"
    """<p>The value of the new entry to be added to the log event</p>"""
    overwrite_if_exists: (
        "capo_cloudwatch_logs.types.overwrite_if_exists.OverwriteIfExists"
    )
    """<p>Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is <code>false</code>.</p>"""

key instance-attribute

key: Key

The key of the new entry to be added to the log event

overwrite_if_exists instance-attribute

overwrite_if_exists: OverwriteIfExists

Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is false.

value instance-attribute

value: AddKeyValue

The value of the new entry to be added to the log event