Interface CfnTransformerPropsMixin.AddKeysProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerPropsMixin.AddKeysProperty.Jsii$Proxy
- Enclosing class:
CfnTransformerPropsMixin
@Stability(Stable)
public static interface CfnTransformerPropsMixin.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.mixins.preview.services.logs.mixins.*;
AddKeysProperty addKeysProperty = AddKeysProperty.builder()
.entries(List.of(AddKeyEntryProperty.builder()
.key("key")
.overwriteIfExists(false)
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformerPropsMixin.AddKeysPropertystatic final classAn implementation forCfnTransformerPropsMixin.AddKeysProperty -
Method Summary
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTransformerPropsMixin.AddKeyEntryProperty>- See Also:
-
builder
-