Class: AWSCDK::Interfaces::AWSSES::CustomVerificationEmailTemplateReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsses/custom_verification_email_template_reference.rb

Overview

A reference to a CustomVerificationEmailTemplate resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template_name:) ⇒ CustomVerificationEmailTemplateReference

Returns a new instance of CustomVerificationEmailTemplateReference.

Parameters:

  • template_name (String)

    The TemplateName of the CustomVerificationEmailTemplate resource.



8
9
10
11
# File 'interfaces/awsses/custom_verification_email_template_reference.rb', line 8

def initialize(template_name:)
  @template_name = template_name
  Jsii::Type.check_type(@template_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateName")
end

Instance Attribute Details

#template_nameString (readonly)

The TemplateName of the CustomVerificationEmailTemplate resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awsses/custom_verification_email_template_reference.rb', line 16

def template_name
  @template_name
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awsses/custom_verification_email_template_reference.rb', line 18

def self.jsii_properties
  {
    :template_name => "templateName",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awsses/custom_verification_email_template_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "templateName" => @template_name,
  })
  result.compact
end