Class: AWSCDK::Lex::CfnBot::ConditionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lex/cfn_bot.rb

Overview

Provides an expression that evaluates to true or false.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expression_string:) ⇒ ConditionProperty

Returns a new instance of ConditionProperty.

Parameters:

  • expression_string (String)

    The expression string that is evaluated.



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_stringString (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_propertiesObject



1727
1728
1729
1730
1731
# File 'lex/cfn_bot.rb', line 1727

def self.jsii_properties
  {
    :expression_string => "expressionString",
  }
end

Instance Method Details

#to_jsiiObject



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