Class CfnTransformerPropsMixin.AddKeyEntryProperty
This object defines one key that will be added with the addKeys processor.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTransformerPropsMixin.AddKeyEntryProperty : CfnTransformerPropsMixin.IAddKeyEntryProperty
Syntax (vb)
Public Class CfnTransformerPropsMixin.AddKeyEntryProperty Implements CfnTransformerPropsMixin.IAddKeyEntryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var addKeyEntryProperty = new AddKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
Value = "value"
};
Synopsis
Constructors
| AddKeyEntryProperty() | This object defines one key that will be added with the addKeys processor. |
Properties
| Key | The key of the new entry to be added to the log event. |
| OverwriteIfExists | Specifies whether to overwrite the value if the key already exists in the log event. |
| Value | The value of the new entry to be added to the log event. |
Constructors
AddKeyEntryProperty()
This object defines one key that will be added with the addKeys processor.
public AddKeyEntryProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var addKeyEntryProperty = new AddKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
Value = "value"
};
Properties
Key
The key of the new entry to be added to the log event.
public string? Key { get; set; }
Property Value
Remarks
OverwriteIfExists
Specifies whether to overwrite the value if the key already exists in the log event.
public object? OverwriteIfExists { get; set; }
Property Value
Remarks
If you omit this, the default is false .
Type union: either bool or IResolvable
Value
The value of the new entry to be added to the log event.
public string? Value { get; set; }