Class: AWSCDK::ResolveChangeContextOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResolveChangeContextOptions
- Defined in:
- resolve_change_context_options.rb
Overview
Options that can be changed while doing a recursive resolve.
Instance Attribute Summary collapse
-
#allow_intrinsic_keys ⇒ Boolean?
readonly
Change the 'allowIntrinsicKeys' option.
-
#remove_empty ⇒ Boolean?
readonly
Whether to remove undefined elements from arrays and objects when resolving.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_intrinsic_keys: nil, remove_empty: nil) ⇒ ResolveChangeContextOptions
constructor
A new instance of ResolveChangeContextOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_intrinsic_keys: nil, remove_empty: nil) ⇒ ResolveChangeContextOptions
Returns a new instance of ResolveChangeContextOptions.
9 10 11 12 13 14 |
# File 'resolve_change_context_options.rb', line 9 def initialize(allow_intrinsic_keys: nil, remove_empty: nil) @allow_intrinsic_keys = allow_intrinsic_keys Jsii::Type.check_type(@allow_intrinsic_keys, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "allowIntrinsicKeys") unless @allow_intrinsic_keys.nil? @remove_empty = remove_empty Jsii::Type.check_type(@remove_empty, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "removeEmpty") unless @remove_empty.nil? end |
Instance Attribute Details
#allow_intrinsic_keys ⇒ Boolean? (readonly)
Note:
Default: - Unchanged
Change the 'allowIntrinsicKeys' option.
20 21 22 |
# File 'resolve_change_context_options.rb', line 20 def allow_intrinsic_keys @allow_intrinsic_keys end |
#remove_empty ⇒ Boolean? (readonly)
Note:
Default: - Unchanged
Whether to remove undefined elements from arrays and objects when resolving.
25 26 27 |
# File 'resolve_change_context_options.rb', line 25 def remove_empty @remove_empty end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'resolve_change_context_options.rb', line 27 def self.jsii_properties { :allow_intrinsic_keys => "allowIntrinsicKeys", :remove_empty => "removeEmpty", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'resolve_change_context_options.rb', line 34 def to_jsii result = {} result.merge!({ "allowIntrinsicKeys" => @allow_intrinsic_keys, "removeEmpty" => @remove_empty, }) result.compact end |