interface ProcessorDeleteKeysProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.ProcessorDeleteKeysProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#ProcessorDeleteKeysProperty |
![]() | software.amazon.awscdk.services.logs.ProcessorDeleteKeysProperty |
![]() | aws_cdk.aws_logs.ProcessorDeleteKeysProperty |
![]() | aws-cdk-lib » aws_logs » ProcessorDeleteKeysProperty |
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
// 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
Name | Type | Description |
---|---|---|
with | string[] | A list of keys to delete. |
withKeys
Type:
string[]
A list of keys to delete.