Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationReviewNotificationRecipientProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, value:) ⇒ EvaluationReviewNotificationRecipientProperty

Returns a new instance of EvaluationReviewNotificationRecipientProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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