Class: AWSCDK::Interfaces::AWSNotifications::ChannelAssociationReference

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

Overview

A reference to a ChannelAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_association_arn:, notification_configuration_arn:) ⇒ ChannelAssociationReference

Returns a new instance of ChannelAssociationReference.

Parameters:

  • channel_association_arn (String)

    The Arn of the ChannelAssociation resource.

  • notification_configuration_arn (String)

    The NotificationConfigurationArn of the ChannelAssociation resource.



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

def initialize(channel_association_arn:, notification_configuration_arn:)
  @channel_association_arn = channel_association_arn
  Jsii::Type.check_type(@channel_association_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelAssociationArn")
  @notification_configuration_arn = notification_configuration_arn
  Jsii::Type.check_type(@notification_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "notificationConfigurationArn")
end

Instance Attribute Details

#channel_association_arnString (readonly)

The Arn of the ChannelAssociation resource.

Returns:

  • (String)


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

def channel_association_arn
  @channel_association_arn
end

#notification_configuration_arnString (readonly)

The NotificationConfigurationArn of the ChannelAssociation resource.

Returns:

  • (String)


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

def notification_configuration_arn
  @notification_configuration_arn
end

Class Method Details

.jsii_propertiesObject



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

def self.jsii_properties
  {
    :channel_association_arn => "channelAssociationArn",
    :notification_configuration_arn => "notificationConfigurationArn",
  }
end

Instance Method Details

#to_jsiiObject



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

def to_jsii
  result = {}
  result.merge!({
    "channelAssociationArn" => @channel_association_arn,
    "notificationConfigurationArn" => @notification_configuration_arn,
  })
  result.compact
end