Interface CopyValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CopyValueProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:13.195Z")
@Stability(Stable)
public interface CopyValueProperty
extends software.amazon.jsii.JsiiSerializable
Copy Value processor, copies values from source to target for each entry.
This processor copies values within a log event. You can also use this processor to add metadata to log events by copying values from metadata keys. For more information about this processor including examples, see copyValue 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.*;
CopyValueProperty copyValueProperty = CopyValueProperty.builder()
.entries(List.of(CopyValueEntryProperty.builder()
.source("source")
.target("target")
// the properties below are optional
.overwriteIfExists(false)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCopyValuePropertystatic final classAn implementation forCopyValueProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic CopyValueProperty.Builderbuilder()List of sources and target to copy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntries
List of sources and target to copy.An array of CopyValueEntry objects, where each object contains information about one field value to copy.
-
builder
- Returns:
- a
CopyValueProperty.BuilderofCopyValueProperty
-