Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementSourceValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementSourceValueProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
An enablement expression source value.
Instance Attribute Summary collapse
-
#ref_id ⇒ String?
readonly
A referenceId of the source value.
-
#type ⇒ String?
readonly
A type of source item value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ref_id: nil, type: nil) ⇒ EvaluationFormItemEnablementSourceValueProperty
constructor
A new instance of EvaluationFormItemEnablementSourceValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ref_id: nil, type: nil) ⇒ EvaluationFormItemEnablementSourceValueProperty
Returns a new instance of EvaluationFormItemEnablementSourceValueProperty.
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_id ⇒ String? (readonly)
A referenceId of the source value.
988 989 990 |
# File 'connect/cfn_evaluation_form.rb', line 988 def ref_id @ref_id end |
#type ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |