Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionOperandProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionOperandProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
An operand of the enablement condition.
Instance Attribute Summary collapse
-
#expression ⇒ AWSCDK::IResolvable, ...
readonly
An expression of the enablement condition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(expression: nil) ⇒ EvaluationFormItemEnablementConditionOperandProperty
constructor
A new instance of EvaluationFormItemEnablementConditionOperandProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(expression: nil) ⇒ EvaluationFormItemEnablementConditionOperandProperty
Returns a new instance of EvaluationFormItemEnablementConditionOperandProperty.
751 752 753 754 |
# File 'connect/cfn_evaluation_form.rb', line 751 def initialize(expression: nil) @expression = expression.is_a?(Hash) ? ::AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementExpressionProperty.new(**expression.transform_keys(&:to_sym)) : expression Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkV2YWx1YXRpb25Gb3JtLkV2YWx1YXRpb25Gb3JtSXRlbUVuYWJsZW1lbnRFeHByZXNzaW9uUHJvcGVydHkifV19fQ==")), "expression") unless @expression.nil? end |
Instance Attribute Details
#expression ⇒ AWSCDK::IResolvable, ... (readonly)
An expression of the enablement condition.
760 761 762 |
# File 'connect/cfn_evaluation_form.rb', line 760 def expression @expression end |
Class Method Details
.jsii_properties ⇒ Object
762 763 764 765 766 |
# File 'connect/cfn_evaluation_form.rb', line 762 def self.jsii_properties { :expression => "expression", } end |
Instance Method Details
#to_jsii ⇒ Object
768 769 770 771 772 773 774 |
# File 'connect/cfn_evaluation_form.rb', line 768 def to_jsii result = {} result.merge!({ "expression" => @expression, }) result.compact end |