Class: AWSCDK::Wisdom::CfnAIAgent::ToolOverrideConstantInputValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wisdom/cfn_ai_agent.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, value:) ⇒ ToolOverrideConstantInputValueProperty

Returns a new instance of ToolOverrideConstantInputValueProperty.

Parameters:

  • type (String)
  • value (String)


1747
1748
1749
1750
1751
1752
# File 'wisdom/cfn_ai_agent.rb', line 1747

def initialize(type:, value:)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value")
end

Instance Attribute Details

#typeString (readonly)



1756
1757
1758
# File 'wisdom/cfn_ai_agent.rb', line 1756

def type
  @type
end

#valueString (readonly)



1759
1760
1761
# File 'wisdom/cfn_ai_agent.rb', line 1759

def value
  @value
end

Class Method Details

.jsii_propertiesObject



1761
1762
1763
1764
1765
1766
# File 'wisdom/cfn_ai_agent.rb', line 1761

def self.jsii_properties
  {
    :type => "type",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



1768
1769
1770
1771
1772
1773
1774
1775
# File 'wisdom/cfn_ai_agent.rb', line 1768

def to_jsii
  result = {}
  result.merge!({
    "type" => @type,
    "value" => @value,
  })
  result.compact
end