Interface CfnTransformer.AddKeysProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.AddKeysProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.AddKeysProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.logs.*;
AddKeysProperty addKeysProperty = AddKeysProperty.builder()
.entries(List.of(AddKeyEntryProperty.builder()
.key("key")
.value("value")
// the properties below are optional
.overwriteIfExists(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformer.AddKeysPropertystatic final classAn implementation forCfnTransformer.AddKeysProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An array of objects, where each object contains the information about one key to add to the log event.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntries
An array of objects, where each object contains the information about one key to add to the log event.- See Also:
-
builder
-