Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormItemEnablementSourceProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
An enablement expression source item.
Instance Attribute Summary collapse
-
#ref_id ⇒ String?
readonly
A referenceId of the source item.
-
#type ⇒ String
readonly
A type of source item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, ref_id: nil) ⇒ EvaluationFormItemEnablementSourceProperty
constructor
A new instance of EvaluationFormItemEnablementSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, ref_id: nil) ⇒ EvaluationFormItemEnablementSourceProperty
Returns a new instance of EvaluationFormItemEnablementSourceProperty.
934 935 936 937 938 939 |
# File 'connect/cfn_evaluation_form.rb', line 934 def initialize(type:, ref_id: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @ref_id = ref_id Jsii::Type.check_type(@ref_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "refId") unless @ref_id.nil? end |
Instance Attribute Details
#ref_id ⇒ String? (readonly)
A referenceId of the source item.
950 951 952 |
# File 'connect/cfn_evaluation_form.rb', line 950 def ref_id @ref_id end |
#type ⇒ String (readonly)
A type of source item.
945 946 947 |
# File 'connect/cfn_evaluation_form.rb', line 945 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
952 953 954 955 956 957 |
# File 'connect/cfn_evaluation_form.rb', line 952 def self.jsii_properties { :type => "type", :ref_id => "refId", } end |
Instance Method Details
#to_jsii ⇒ Object
959 960 961 962 963 964 965 966 |
# File 'connect/cfn_evaluation_form.rb', line 959 def to_jsii result = {} result.merge!({ "type" => @type, "refId" => @ref_id, }) result.compact end |