interface IMergeStrategy
| Language | Type name |
|---|---|
.NET | Amazon.CDK.IMergeStrategy |
Go | github.com/aws/aws-cdk-go/awscdk/v2#IMergeStrategy |
Java | software.amazon.awscdk.IMergeStrategy |
Python | aws_cdk.IMergeStrategy |
TypeScript (source) | aws-cdk-lib » IMergeStrategy |
Obtainable from
Property.combine(), Property.override()
Interface for applying properties to a target using a specific strategy.
Methods
| Name | Description |
|---|---|
| apply(target, source, allowedKeys) | Apply properties from source to target for the given keys. |
apply(target, source, allowedKeys)
public apply(target: json, source: json, allowedKeys: string[]): void
Parameters
- target
json— - The construct to apply properties to. - source
json— - The property values to apply. - allowedKeys
string[]— - Only properties whose names are in this list will be read fromsourceand written totarget.
Apply properties from source to target for the given keys.

.NET
Go
Java
Python
TypeScript (