Skip to content
v2.274.0

ProcessorDeleteKeysProperty Struct ​

This processor adds new key-value pairs to the log event.

For more information about this processor including examples, see addKeys 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 processorDeleteKeysProperty: logs.ProcessorDeleteKeysProperty = {
  withKeys: ['withKeys'],
};

Properties ​

withKeysstring[]with_keystyping.List[str]withKeysList<String>WithKeysstring[]WithKeys*[]*stringrequired#
A list of keys to delete.