Class: AWSCDK::Timestream::CfnScheduledQuery::TargetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnScheduledQuery::TargetConfigurationProperty
- Defined in:
- timestream/cfn_scheduled_query.rb
Overview
Configuration used for writing the output of a query.
Instance Attribute Summary collapse
-
#timestream_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Timestream::CfnScheduledQuery::TimestreamConfigurationProperty
readonly
Configuration needed to write data into the Timestream database and table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(timestream_configuration:) ⇒ TargetConfigurationProperty
constructor
A new instance of TargetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(timestream_configuration:) ⇒ TargetConfigurationProperty
Returns a new instance of TargetConfigurationProperty.
1125 1126 1127 1128 |
# File 'timestream/cfn_scheduled_query.rb', line 1125 def initialize(timestream_configuration:) @timestream_configuration = timestream_configuration.is_a?(Hash) ? ::AWSCDK::Timestream::CfnScheduledQuery::TimestreamConfigurationProperty.new(**timestream_configuration.transform_keys(&:to_sym)) : timestream_configuration Jsii::Type.check_type(@timestream_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190aW1lc3RyZWFtLkNmblNjaGVkdWxlZFF1ZXJ5LlRpbWVzdHJlYW1Db25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "timestreamConfiguration") end |
Instance Attribute Details
#timestream_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Timestream::CfnScheduledQuery::TimestreamConfigurationProperty (readonly)
Configuration needed to write data into the Timestream database and table.
1134 1135 1136 |
# File 'timestream/cfn_scheduled_query.rb', line 1134 def timestream_configuration @timestream_configuration end |
Class Method Details
.jsii_properties ⇒ Object
1136 1137 1138 1139 1140 |
# File 'timestream/cfn_scheduled_query.rb', line 1136 def self.jsii_properties { :timestream_configuration => "timestreamConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
1142 1143 1144 1145 1146 1147 1148 |
# File 'timestream/cfn_scheduled_query.rb', line 1142 def to_jsii result = {} result.merge!({ "timestreamConfiguration" => @timestream_configuration, }) result.compact end |