Class: AWSCDK::Interfaces::AWSSES::EmailIdentityReference

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

Overview

A reference to a EmailIdentity resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email_identity:) ⇒ EmailIdentityReference

Returns a new instance of EmailIdentityReference.

Parameters:

  • email_identity (String)

    The EmailIdentity of the EmailIdentity resource.



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

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

Instance Attribute Details

#email_identityString (readonly)

The EmailIdentity of the EmailIdentity resource.

Returns:

  • (String)


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

def email_identity
  @email_identity
end

Class Method Details

.jsii_propertiesObject



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

def self.jsii_properties
  {
    :email_identity => "emailIdentity",
  }
end

Instance Method Details

#to_jsiiObject



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

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