Class: AWSCDK::SMSVoice::CfnConfigurationSet::SNSDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnConfigurationSet::SNSDestinationProperty
- Defined in:
- sms_voice/cfn_configuration_set.rb
Overview
An object that defines an Amazon SNS destination for events.
You can use Amazon SNS to send notification when certain events occur.
Instance Attribute Summary collapse
-
#topic_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(topic_arn:) ⇒ SNSDestinationProperty
constructor
A new instance of SNSDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(topic_arn:) ⇒ SNSDestinationProperty
Returns a new instance of SNSDestinationProperty.
791 792 793 794 |
# File 'sms_voice/cfn_configuration_set.rb', line 791 def initialize(topic_arn:) @topic_arn = topic_arn Jsii::Type.check_type(@topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "topicArn") end |
Instance Attribute Details
#topic_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
800 801 802 |
# File 'sms_voice/cfn_configuration_set.rb', line 800 def topic_arn @topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
802 803 804 805 806 |
# File 'sms_voice/cfn_configuration_set.rb', line 802 def self.jsii_properties { :topic_arn => "topicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
808 809 810 811 812 813 814 |
# File 'sms_voice/cfn_configuration_set.rb', line 808 def to_jsii result = {} result.merge!({ "topicArn" => @topic_arn, }) result.compact end |