Class: AWSCDK::Interfaces::AWSNotifications::ChannelAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSNotifications::ChannelAssociationReference
- Defined in:
- interfaces/aws_notifications/channel_association_reference.rb
Overview
A reference to a ChannelAssociation resource.
Instance Attribute Summary collapse
-
#channel_association_arn ⇒ String
readonly
The Arn of the ChannelAssociation resource.
-
#notification_configuration_arn ⇒ String
readonly
The NotificationConfigurationArn of the ChannelAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_association_arn:, notification_configuration_arn:) ⇒ ChannelAssociationReference
constructor
A new instance of ChannelAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel_association_arn:, notification_configuration_arn:) ⇒ ChannelAssociationReference
Returns a new instance of ChannelAssociationReference.
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_arn ⇒ String (readonly)
The Arn of the ChannelAssociation resource.
19 20 21 |
# File 'interfaces/aws_notifications/channel_association_reference.rb', line 19 def channel_association_arn @channel_association_arn end |
#notification_configuration_arn ⇒ String (readonly)
The NotificationConfigurationArn of the ChannelAssociation resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |