Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementSourceValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_evaluation_form.rb

Overview

An enablement expression source value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ref_id: nil, type: nil) ⇒ EvaluationFormItemEnablementSourceValueProperty

Returns a new instance of EvaluationFormItemEnablementSourceValueProperty.

Parameters:

  • ref_id (String, nil) (defaults to: nil)

    A referenceId of the source value.

  • type (String, nil) (defaults to: nil)

    A type of source item value.



977
978
979
980
981
982
# File 'connect/cfn_evaluation_form.rb', line 977

def initialize(ref_id: nil, type: nil)
  @ref_id = ref_id
  Jsii::Type.check_type(@ref_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "refId") unless @ref_id.nil?
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

#ref_idString? (readonly)

A referenceId of the source value.



988
989
990
# File 'connect/cfn_evaluation_form.rb', line 988

def ref_id
  @ref_id
end

#typeString? (readonly)

A type of source item value.



993
994
995
# File 'connect/cfn_evaluation_form.rb', line 993

def type
  @type
end

Class Method Details

.jsii_propertiesObject



995
996
997
998
999
1000
# File 'connect/cfn_evaluation_form.rb', line 995

def self.jsii_properties
  {
    :ref_id => "refId",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



1002
1003
1004
1005
1006
1007
1008
1009
# File 'connect/cfn_evaluation_form.rb', line 1002

def to_jsii
  result = {}
  result.merge!({
    "refId" => @ref_id,
    "type" => @type,
  })
  result.compact
end