Interface CfnTransformer.RenameKeysProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.RenameKeysProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.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.services.logs.*;
RenameKeysProperty renameKeysProperty = RenameKeysProperty.builder()
.entries(List.of(RenameKeyEntryProperty.builder()
.key("key")
.renameTo("renameTo")
// the properties below are optional
.overwriteIfExists(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformer.RenameKeysPropertystatic final classAn implementation forCfnTransformer.RenameKeysProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An array ofRenameKeyEntryobjects, where each object contains the information about a single key to rename.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: '<'eitherIResolvableorCfnTransformer.RenameKeyEntryProperty>- See Also:
-
builder
-