Class: AWSCDK::Timestream::CfnScheduledQuery::SNSConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnScheduledQuery::SNSConfigurationProperty
- Defined in:
- timestream/cfn_scheduled_query.rb
Overview
Details on SNS that are required to send the notification.
Instance Attribute Summary collapse
-
#topic_arn ⇒ String
readonly
SNS topic ARN that the scheduled query status notifications will be sent to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(topic_arn:) ⇒ SNSConfigurationProperty
constructor
A new instance of SNSConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(topic_arn:) ⇒ SNSConfigurationProperty
Returns a new instance of SNSConfigurationProperty.
1092 1093 1094 1095 |
# File 'timestream/cfn_scheduled_query.rb', line 1092 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)
SNS topic ARN that the scheduled query status notifications will be sent to.
1101 1102 1103 |
# File 'timestream/cfn_scheduled_query.rb', line 1101 def topic_arn @topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
1103 1104 1105 1106 1107 |
# File 'timestream/cfn_scheduled_query.rb', line 1103 def self.jsii_properties { :topic_arn => "topicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1109 1110 1111 1112 1113 1114 1115 |
# File 'timestream/cfn_scheduled_query.rb', line 1109 def to_jsii result = {} result.merge!({ "topicArn" => @topic_arn, }) result.compact end |