interface AddKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.AddKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_AddKeyEntryProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.AddKeyEntryProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.AddKeyEntryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » AddKeyEntryProperty |
This object defines one key that will be added with the addKeys processor.
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 addKeyEntryProperty: logs_mixins.CfnTransformerPropsMixin.AddKeyEntryProperty = {
key: 'key',
overwriteIfExists: false,
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| key? | string | The key of the new entry to be added to the log event. |
| overwrite | boolean | IResolvable | Specifies whether to overwrite the value if the key already exists in the log event. |
| value? | string | The value of the new entry to be added to the log event. |
key?
Type:
string
(optional)
The key of the new entry to be added to the log event.
overwriteIfExists?
Type:
boolean | IResolvable
(optional)
Specifies whether to overwrite the value if the key already exists in the log event.
If you omit this, the default is false .
value?
Type:
string
(optional)
The value of the new entry to be added to the log event.

.NET
Go
Java
Python
TypeScript