Class: AWSCDK::Lex::CfnBot::ConditionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::ConditionProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Provides an expression that evaluates to true or false.
Instance Attribute Summary collapse
-
#expression_string ⇒ String
readonly
The expression string that is evaluated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(expression_string:) ⇒ ConditionProperty
constructor
A new instance of ConditionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(expression_string:) ⇒ ConditionProperty
Returns a new instance of ConditionProperty.
1716 1717 1718 1719 |
# File 'lex/cfn_bot.rb', line 1716 def initialize(expression_string:) @expression_string = expression_string Jsii::Type.check_type(@expression_string, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expressionString") end |
Instance Attribute Details
#expression_string ⇒ String (readonly)
The expression string that is evaluated.
1725 1726 1727 |
# File 'lex/cfn_bot.rb', line 1725 def expression_string @expression_string end |
Class Method Details
.jsii_properties ⇒ Object
1727 1728 1729 1730 1731 |
# File 'lex/cfn_bot.rb', line 1727 def self.jsii_properties { :expression_string => "expressionString", } end |
Instance Method Details
#to_jsii ⇒ Object
1733 1734 1735 1736 1737 1738 1739 |
# File 'lex/cfn_bot.rb', line 1733 def to_jsii result = {} result.merge!({ "expressionString" => @expression_string, }) result.compact end |