Class: AWSCDK::Interfaces::AWSFMS::NotificationChannelReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSFMS::NotificationChannelReference
- Defined in:
- interfaces/awsfms/notification_channel_reference.rb
Overview
A reference to a NotificationChannel resource.
Instance Attribute Summary collapse
-
#sns_topic_arn ⇒ String
readonly
The SnsTopicArn of the NotificationChannel resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sns_topic_arn:) ⇒ NotificationChannelReference
constructor
A new instance of NotificationChannelReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sns_topic_arn:) ⇒ NotificationChannelReference
Returns a new instance of NotificationChannelReference.
8 9 10 11 |
# File 'interfaces/awsfms/notification_channel_reference.rb', line 8 def initialize(sns_topic_arn:) @sns_topic_arn = sns_topic_arn Jsii::Type.check_type(@sns_topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "snsTopicArn") end |
Instance Attribute Details
#sns_topic_arn ⇒ String (readonly)
The SnsTopicArn of the NotificationChannel resource.
16 17 18 |
# File 'interfaces/awsfms/notification_channel_reference.rb', line 16 def sns_topic_arn @sns_topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsfms/notification_channel_reference.rb', line 18 def self.jsii_properties { :sns_topic_arn => "snsTopicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsfms/notification_channel_reference.rb', line 24 def to_jsii result = {} result.merge!({ "snsTopicArn" => @sns_topic_arn, }) result.compact end |