Class: AWSCDK::Interfaces::AWSSES::MailManagerAddressListReference

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

Overview

A reference to a MailManagerAddressList resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address_list_arn:, address_list_id:) ⇒ MailManagerAddressListReference

Returns a new instance of MailManagerAddressListReference.

Parameters:

  • address_list_arn (String)

    The ARN of the MailManagerAddressList resource.

  • address_list_id (String)

    The AddressListId of the MailManagerAddressList resource.



9
10
11
12
13
14
# File 'interfaces/awsses/mail_manager_address_list_reference.rb', line 9

def initialize(address_list_arn:, address_list_id:)
  @address_list_arn = address_list_arn
  Jsii::Type.check_type(@address_list_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "addressListArn")
  @address_list_id = address_list_id
  Jsii::Type.check_type(@address_list_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "addressListId")
end

Instance Attribute Details

#address_list_arnString (readonly)

The ARN of the MailManagerAddressList resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/awsses/mail_manager_address_list_reference.rb', line 19

def address_list_arn
  @address_list_arn
end

#address_list_idString (readonly)

The AddressListId of the MailManagerAddressList resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/awsses/mail_manager_address_list_reference.rb', line 23

def address_list_id
  @address_list_id
end

Class Method Details

.jsii_propertiesObject



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

def self.jsii_properties
  {
    :address_list_arn => "addressListArn",
    :address_list_id => "addressListId",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/awsses/mail_manager_address_list_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "addressListArn" => @address_list_arn,
    "addressListId" => @address_list_id,
  })
  result.compact
end