Package software.amazon.awscdk
Class PropertyMergeStrategy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.PropertyMergeStrategy
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:35.621Z")
@Stability(Stable)
public class PropertyMergeStrategy
extends software.amazon.jsii.JsiiObject
Strategy for handling nested properties in L1 property mixins.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyMergeStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedPropertyMergeStrategy(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IMergeStrategycombine()Deep merges nested objects from source into target.static IMergeStrategyoverride()Replaces existing property values on the target with the values from the source.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
PropertyMergeStrategy
protected PropertyMergeStrategy(software.amazon.jsii.JsiiObjectRef objRef) -
PropertyMergeStrategy
protected PropertyMergeStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
combine
Deep merges nested objects from source into target.When both the existing and new value for a key are plain objects, their properties are merged recursively. Primitives, arrays, and mismatched types are overridden by the source value.
-
override
Replaces existing property values on the target with the values from the source.Each allowed key is copied from source to target as-is, without inspecting nested objects. Any previous value on the target is discarded.
-