Class: AWSCDK::Cases::CfnCaseRule::OperandOneProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cases::CfnCaseRule::OperandOneProperty
- Defined in:
- cases/cfn_case_rule.rb
Overview
Represents the left hand operand in the condition.
In the Amazon Connect admin website, case rules are known as case field conditions . For more information about case field conditions, see Add case field conditions to a case template .
Instance Attribute Summary collapse
-
#field_id ⇒ String
readonly
The field ID that this operand should take the value of.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_id:) ⇒ OperandOneProperty
constructor
A new instance of OperandOneProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_id:) ⇒ OperandOneProperty
Returns a new instance of OperandOneProperty.
788 789 790 791 |
# File 'cases/cfn_case_rule.rb', line 788 def initialize(field_id:) @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") end |
Instance Attribute Details
#field_id ⇒ String (readonly)
The field ID that this operand should take the value of.
797 798 799 |
# File 'cases/cfn_case_rule.rb', line 797 def field_id @field_id end |
Class Method Details
.jsii_properties ⇒ Object
799 800 801 802 803 |
# File 'cases/cfn_case_rule.rb', line 799 def self.jsii_properties { :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
805 806 807 808 809 810 811 |
# File 'cases/cfn_case_rule.rb', line 805 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, }) result.compact end |