Class: AWSCDK::Wisdom::CfnAIAgent::ToolOverrideInputValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnAIAgent::ToolOverrideInputValueProperty
- Defined in:
- wisdom/cfn_ai_agent.rb
Overview
Instance Attribute Summary collapse
- #json_path ⇒ String readonly
- #value ⇒ AWSCDK::IResolvable, AWSCDK::Wisdom::CfnAIAgent::ToolOverrideInputValueConfigurationProperty readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(json_path:, value:) ⇒ ToolOverrideInputValueProperty
constructor
A new instance of ToolOverrideInputValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(json_path:, value:) ⇒ ToolOverrideInputValueProperty
Returns a new instance of ToolOverrideInputValueProperty.
1813 1814 1815 1816 1817 1818 |
# File 'wisdom/cfn_ai_agent.rb', line 1813 def initialize(json_path:, value:) @json_path = json_path Jsii::Type.check_type(@json_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "jsonPath") @value = value.is_a?(Hash) ? ::AWSCDK::Wisdom::CfnAIAgent::ToolOverrideInputValueConfigurationProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193aXNkb20uQ2ZuQUlBZ2VudC5Ub29sT3ZlcnJpZGVJbnB1dFZhbHVlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "value") end |
Instance Attribute Details
#json_path ⇒ String (readonly)
1822 1823 1824 |
# File 'wisdom/cfn_ai_agent.rb', line 1822 def json_path @json_path end |
#value ⇒ AWSCDK::IResolvable, AWSCDK::Wisdom::CfnAIAgent::ToolOverrideInputValueConfigurationProperty (readonly)
1825 1826 1827 |
# File 'wisdom/cfn_ai_agent.rb', line 1825 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1827 1828 1829 1830 1831 1832 |
# File 'wisdom/cfn_ai_agent.rb', line 1827 def self.jsii_properties { :json_path => "jsonPath", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1834 1835 1836 1837 1838 1839 1840 1841 |
# File 'wisdom/cfn_ai_agent.rb', line 1834 def to_jsii result = {} result.merge!({ "jsonPath" => @json_path, "value" => @value, }) result.compact end |