Class: AWSCDK::Interfaces::AWSNotificationscontacts::EmailContactReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_notificationscontacts/email_contact_reference.rb

Overview

A reference to a EmailContact resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email_contact_arn:) ⇒ EmailContactReference

Returns a new instance of EmailContactReference.

Parameters:

  • email_contact_arn (String)

    The Arn of the EmailContact resource.



8
9
10
11
# File 'interfaces/aws_notificationscontacts/email_contact_reference.rb', line 8

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

Instance Attribute Details

#email_contact_arnString (readonly)

The Arn of the EmailContact resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_notificationscontacts/email_contact_reference.rb', line 16

def email_contact_arn
  @email_contact_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_notificationscontacts/email_contact_reference.rb', line 18

def self.jsii_properties
  {
    :email_contact_arn => "emailContactArn",
  }
end

Instance Method Details

#to_jsiiObject



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

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