Interface CfnTransformerPropsMixin.RenameKeysProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformerPropsMixin.RenameKeysProperty.Jsii$Proxy
- Enclosing class:
CfnTransformerPropsMixin
@Stability(Stable)
public static interface CfnTransformerPropsMixin.RenameKeysProperty
extends software.amazon.jsii.JsiiSerializable
Use this processor to rename keys in a log event.
For more information about this processor including examples, see renameKeys 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.*;
RenameKeysProperty renameKeysProperty = RenameKeysProperty.builder()
.entries(List.of(RenameKeyEntryProperty.builder()
.key("key")
.overwriteIfExists(false)
.renameTo("renameTo")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformerPropsMixin.RenameKeysPropertystatic final classAn implementation forCfnTransformerPropsMixin.RenameKeysProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntries
An array ofRenameKeyEntryobjects, where each object contains the information about a single key to rename.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTransformerPropsMixin.RenameKeyEntryProperty>- See Also:
-
builder
-