Interface CopyValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CopyValueProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:17.244Z")
@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 class
A builder forCopyValueProperty
static final class
An implementation forCopyValueProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic CopyValueProperty.Builder
builder()
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.Builder
ofCopyValueProperty
-