Class: AWSCDK::Notifications::CfnManagedNotificationAdditionalChannelAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Notifications::CfnManagedNotificationAdditionalChannelAssociationProps
- Defined in:
- notifications/cfn_managed_notification_additional_channel_association_props.rb
Overview
Properties for defining a CfnManagedNotificationAdditionalChannelAssociation.
Instance Attribute Summary collapse
-
#channel_arn ⇒ String
readonly
The ARN of the
Channel. -
#managed_notification_configuration_arn ⇒ String
readonly
The ARN of the
ManagedNotificationAdditionalChannelAssociationassociated with theChannel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_arn:, managed_notification_configuration_arn:) ⇒ CfnManagedNotificationAdditionalChannelAssociationProps
constructor
A new instance of CfnManagedNotificationAdditionalChannelAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel_arn:, managed_notification_configuration_arn:) ⇒ CfnManagedNotificationAdditionalChannelAssociationProps
Returns a new instance of CfnManagedNotificationAdditionalChannelAssociationProps.
11 12 13 14 15 16 |
# File 'notifications/cfn_managed_notification_additional_channel_association_props.rb', line 11 def initialize(channel_arn:, managed_notification_configuration_arn:) @channel_arn = channel_arn Jsii::Type.check_type(@channel_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelArn") @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
#channel_arn ⇒ String (readonly)
The ARN of the Channel .
22 23 24 |
# File 'notifications/cfn_managed_notification_additional_channel_association_props.rb', line 22 def channel_arn @channel_arn end |
#managed_notification_configuration_arn ⇒ String (readonly)
The ARN of the ManagedNotificationAdditionalChannelAssociation associated with the Channel .
27 28 29 |
# File 'notifications/cfn_managed_notification_additional_channel_association_props.rb', line 27 def managed_notification_configuration_arn @managed_notification_configuration_arn end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'notifications/cfn_managed_notification_additional_channel_association_props.rb', line 29 def self.jsii_properties { :channel_arn => "channelArn", :managed_notification_configuration_arn => "managedNotificationConfigurationArn", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'notifications/cfn_managed_notification_additional_channel_association_props.rb', line 36 def to_jsii result = {} result.merge!({ "channelArn" => @channel_arn, "managedNotificationConfigurationArn" => @managed_notification_configuration_arn, }) result.compact end |