Class: AWSCDK::Notifications::CfnManagedNotificationAccountContactAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
notifications/cfn_managed_notification_account_contact_association_props.rb

Overview

Properties for defining a CfnManagedNotificationAccountContactAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ CfnManagedNotificationAccountContactAssociationProps

Returns a new instance of CfnManagedNotificationAccountContactAssociationProps.

Parameters:

  • contact_identifier (String)

    The unique identifier of the notification contact associated with the AWS account.

  • managed_notification_configuration_arn (String)

    The ARN of the ManagedNotificationConfiguration to be associated with the Channel .



11
12
13
14
15
16
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 11

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 unique identifier of the notification contact associated with the AWS account.

For more information about the contact types associated with an account, see the Account Management Reference Guide .



24
25
26
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 24

def contact_identifier
  @contact_identifier
end

#managed_notification_configuration_arnString (readonly)

The ARN of the ManagedNotificationConfiguration to be associated with the Channel .



29
30
31
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 29

def managed_notification_configuration_arn
  @managed_notification_configuration_arn
end

Class Method Details

.jsii_propertiesObject



31
32
33
34
35
36
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 31

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

Instance Method Details

#to_jsiiObject



38
39
40
41
42
43
44
45
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 38

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