RenameKeysProperty
- class aws_cdk.aws_logs.RenameKeysProperty(*, entries)
Bases:
object
Use this processor to rename keys in a log event.
For more information about this processor including examples, see renameKeys in the CloudWatch Logs User Guide.
- Parameters:
entries (
Sequence
[Union
[RenameKeyEntryProperty
,Dict
[str
,Any
]]]) – An array of RenameKeyEntry objects, where each object contains information about one key to rename.- 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_keys_property = logs.RenameKeysProperty( entries=[logs.RenameKeyEntryProperty( key="key", rename_to="renameTo", # the properties below are optional overwrite_if_exists=False )] )
Attributes
- entries
An array of RenameKeyEntry objects, where each object contains information about one key to rename.