Class: AWSCDK::Notifications::CfnChannelAssociationProps

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

Overview

Properties for defining a CfnChannelAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:, notification_configuration_arn:) ⇒ CfnChannelAssociationProps

Returns a new instance of CfnChannelAssociationProps.

Parameters:

  • arn (String)

    The Amazon Resource Name (ARN) of the Channel .

  • notification_configuration_arn (String)

    The ARN of the NotificationConfiguration associated with the Channel .



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

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

Instance Attribute Details

#arnString (readonly)

The Amazon Resource Name (ARN) of the Channel .



22
23
24
# File 'notifications/cfn_channel_association_props.rb', line 22

def arn
  @arn
end

#notification_configuration_arnString (readonly)

The ARN of the NotificationConfiguration associated with the Channel .



27
28
29
# File 'notifications/cfn_channel_association_props.rb', line 27

def notification_configuration_arn
  @notification_configuration_arn
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
34
# File 'notifications/cfn_channel_association_props.rb', line 29

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

Instance Method Details

#to_jsiiObject



36
37
38
39
40
41
42
43
# File 'notifications/cfn_channel_association_props.rb', line 36

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