AddKeyEntryProperty
- class aws_cdk.aws_logs.AddKeyEntryProperty(*, key, value, overwrite_if_exists=None)
Bases:
object
This object defines one key that will be added with the addKeys processor.
- Parameters:
key (
str
) – The key of the new entry to be added to the log event.value (
str
) – The value of the new entry to be added to the log event.overwrite_if_exists (
Optional
[bool
]) – Specifies whether to overwrite the value if the 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 add_key_entry_property = logs.AddKeyEntryProperty( key="key", value="value", # the properties below are optional overwrite_if_exists=False )
Attributes
- key
The key of the new entry to be added to the log event.
- overwrite_if_exists
Specifies whether to overwrite the value if the key already exists.
- Default:
false
- value
The value of the new entry to be added to the log event.