Class: AWSCDK::Cases::CfnCaseRule::OperandOneProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_id:) ⇒ OperandOneProperty

Returns a new instance of OperandOneProperty.

Parameters:

  • field_id (String)

    The field ID that this operand should take the value of.



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



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_jsiiObject



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