Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
Information about a recipient who should be notified when an evaluation review is requested.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The type of notification recipient.
-
#value ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientValueProperty
readonly
The value information for an evaluation review notification recipient.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, value:) ⇒ EvaluationReviewNotificationRecipientProperty
constructor
A new instance of EvaluationReviewNotificationRecipientProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, value:) ⇒ EvaluationReviewNotificationRecipientProperty
Returns a new instance of EvaluationReviewNotificationRecipientProperty.
2143 2144 2145 2146 2147 2148 |
# File 'connect/cfn_evaluation_form.rb', line 2143 def initialize(type:, value:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @value = value.is_a?(Hash) ? ::AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientValueProperty.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkV2YWx1YXRpb25Gb3JtLkV2YWx1YXRpb25SZXZpZXdOb3RpZmljYXRpb25SZWNpcGllbnRWYWx1ZVByb3BlcnR5In1dfX0=")), "value") end |
Instance Attribute Details
#type ⇒ String (readonly)
The type of notification recipient.
2154 2155 2156 |
# File 'connect/cfn_evaluation_form.rb', line 2154 def type @type end |
#value ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientValueProperty (readonly)
The value information for an evaluation review notification recipient.
2159 2160 2161 |
# File 'connect/cfn_evaluation_form.rb', line 2159 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
2161 2162 2163 2164 2165 2166 |
# File 'connect/cfn_evaluation_form.rb', line 2161 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'connect/cfn_evaluation_form.rb', line 2168 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |