Class: AWSCDK::Timestream::CfnScheduledQuery::SNSConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
timestream/cfn_scheduled_query.rb

Overview

Details on SNS that are required to send the notification.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topic_arn:) ⇒ SNSConfigurationProperty

Returns a new instance of SNSConfigurationProperty.

Parameters:

  • topic_arn (String)

    SNS topic ARN that the scheduled query status notifications will be sent to.



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_arnString (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_propertiesObject



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_jsiiObject



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