interface AddKeysProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.AddKeysProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_AddKeysProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.AddKeysProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.AddKeysProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » AddKeysProperty |
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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const addKeysProperty: logs_mixins.CfnTransformerPropsMixin.AddKeysProperty = {
entries: [{
key: 'key',
overwriteIfExists: false,
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| entries? | IResolvable | (IResolvable | Add)[] | An array of objects, where each object contains the information about one key to add to the log event. |
entries?
Type:
IResolvable | (IResolvable | Add)[]
(optional)
An array of objects, where each object contains the information about one key to add to the log event.

.NET
Go
Java
Python
TypeScript