RenameKeysProperty Struct
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.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const renameKeysProperty: logs.RenameKeysProperty = {
entries: [{
key: 'key',
renameTo: 'renameTo',
// the properties below are optional
overwriteIfExists: false,
}],
};
Properties
entriesRenameKeyEntryProperty[]entriestyping.List[RenameKeyEntryProperty]entriesList<RenameKeyEntryProperty>EntriesRenameKeyEntryProperty[]Entries*[]RenameKeyEntryPropertyrequired#An array of RenameKeyEntry objects, where each object contains information about one key to rename.