interface AddKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.AddKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_AddKeyEntryProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.AddKeyEntryProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.AddKeyEntryProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » 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 { aws_logs as logs } from '@aws-cdk/cfn-property-mixins';
const addKeyEntryProperty: logs.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