Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
A condition for item enablement.
Instance Attribute Summary collapse
-
#operands ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionOperandProperty>
readonly
Operands of the enablement condition.
-
#operator ⇒ String?
readonly
The operator to be used to be applied to operands if more than one provided.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(operands:, operator: nil) ⇒ EvaluationFormItemEnablementConditionProperty
constructor
A new instance of EvaluationFormItemEnablementConditionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(operands:, operator: nil) ⇒ EvaluationFormItemEnablementConditionProperty
Returns a new instance of EvaluationFormItemEnablementConditionProperty.
785 786 787 788 789 790 |
# File 'connect/cfn_evaluation_form.rb', line 785 def initialize(operands:, operator: nil) @operands = operands Jsii::Type.check_type(@operands, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29ubmVjdC5DZm5FdmFsdWF0aW9uRm9ybS5FdmFsdWF0aW9uRm9ybUl0ZW1FbmFibGVtZW50Q29uZGl0aW9uT3BlcmFuZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "operands") @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") unless @operator.nil? end |
Instance Attribute Details
#operands ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementConditionOperandProperty> (readonly)
Operands of the enablement condition.
796 797 798 |
# File 'connect/cfn_evaluation_form.rb', line 796 def operands @operands end |
#operator ⇒ String? (readonly)
The operator to be used to be applied to operands if more than one provided.
801 802 803 |
# File 'connect/cfn_evaluation_form.rb', line 801 def operator @operator end |
Class Method Details
.jsii_properties ⇒ Object
803 804 805 806 807 808 |
# File 'connect/cfn_evaluation_form.rb', line 803 def self.jsii_properties { :operands => "operands", :operator => "operator", } end |
Instance Method Details
#to_jsii ⇒ Object
810 811 812 813 814 815 816 817 |
# File 'connect/cfn_evaluation_form.rb', line 810 def to_jsii result = {} result.merge!({ "operands" => @operands, "operator" => @operator, }) result.compact end |