Class: AWSCDK::Interfaces::AWSNotifications::ManagedNotificationAccountContactAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb

Overview

A reference to a ManagedNotificationAccountContactAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ ManagedNotificationAccountContactAssociationReference

Returns a new instance of ManagedNotificationAccountContactAssociationReference.

Parameters:

  • contact_identifier (String)

    The ContactIdentifier of the ManagedNotificationAccountContactAssociation resource.

  • managed_notification_configuration_arn (String)

    The ManagedNotificationConfigurationArn of the ManagedNotificationAccountContactAssociation resource.



9
10
11
12
13
14
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 9

def initialize(contact_identifier:, managed_notification_configuration_arn:)
  @contact_identifier = contact_identifier
  Jsii::Type.check_type(@contact_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactIdentifier")
  @managed_notification_configuration_arn = managed_notification_configuration_arn
  Jsii::Type.check_type(@managed_notification_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "managedNotificationConfigurationArn")
end

Instance Attribute Details

#contact_identifierString (readonly)

The ContactIdentifier of the ManagedNotificationAccountContactAssociation resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 19

def contact_identifier
  @contact_identifier
end

#managed_notification_configuration_arnString (readonly)

The ManagedNotificationConfigurationArn of the ManagedNotificationAccountContactAssociation resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 23

def managed_notification_configuration_arn
  @managed_notification_configuration_arn
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 25

def self.jsii_properties
  {
    :contact_identifier => "contactIdentifier",
    :managed_notification_configuration_arn => "managedNotificationConfigurationArn",
  }
end

Instance Method Details

#to_jsiiObject



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

def to_jsii
  result = {}
  result.merge!({
    "contactIdentifier" => @contact_identifier,
    "managedNotificationConfigurationArn" => @managed_notification_configuration_arn,
  })
  result.compact
end