IMergeStrategy

class aws_cdk.IMergeStrategy(*args, **kwargs)

Bases: Protocol

Interface for applying properties to a target using a specific strategy.

Methods

apply(target, source, allowed_keys)

Apply properties from source to target for the given keys.

Parameters:
  • target (Mapping[Any, Any]) –

    • The construct to apply properties to.

  • source (Mapping[Any, Any]) –

    • The property values to apply.

  • allowed_keys (Sequence[str]) –

    • Only properties whose names are in this list will be read from source and written to target. This acts as an allowlist to ensure only known CloudFormation resource properties are applied.

Return type:

None