Module: AWSCDK::IMergeStrategy
- Defined in:
- i_merge_strategy.rb
Overview
Interface for applying properties to a target using a specific strategy.
Class Method Summary collapse
Instance Method Summary collapse
-
#apply(target, source, allowed_keys) ⇒ void
Apply properties from source to target for the given keys.
Class Method Details
.jsii_overridable_methods ⇒ Object
20 21 22 23 24 |
# File 'i_merge_strategy.rb', line 20 def self.jsii_overridable_methods { :apply => { kind: :method, name: "apply", is_optional: false }, } end |
Instance Method Details
#apply(target, source, allowed_keys) ⇒ void
This method returns an undefined value.
Apply properties from source to target for the given keys.
13 14 15 16 17 18 |
# File 'i_merge_strategy.rb', line 13 def apply(target, source, allowed_keys) Jsii::Type.check_type(target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJqc29uIn0=")), "target") Jsii::Type.check_type(source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJqc29uIn0=")), "source") Jsii::Type.check_type(allowed_keys, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedKeys") jsii_call_method("apply", [target, source, allowed_keys]) end |