Class: AWSCDK::Timestream::CfnScheduledQuery::MultiMeasureMappingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnScheduledQuery::MultiMeasureMappingsProperty
- Defined in:
- timestream/cfn_scheduled_query.rb
Overview
Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided.
MultiMeasureMappings can be used to ingest data as multi measures in the derived table.
Instance Attribute Summary collapse
-
#multi_measure_attribute_mappings ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Timestream::CfnScheduledQuery::MultiMeasureAttributeMappingProperty>
readonly
Required.
-
#target_multi_measure_name ⇒ String?
readonly
The name of the target multi-measure name in the derived table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(multi_measure_attribute_mappings:, target_multi_measure_name: nil) ⇒ MultiMeasureMappingsProperty
constructor
A new instance of MultiMeasureMappingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(multi_measure_attribute_mappings:, target_multi_measure_name: nil) ⇒ MultiMeasureMappingsProperty
Returns a new instance of MultiMeasureMappingsProperty.
919 920 921 922 923 924 |
# File 'timestream/cfn_scheduled_query.rb', line 919 def initialize(multi_measure_attribute_mappings:, target_multi_measure_name: nil) @multi_measure_attribute_mappings = multi_measure_attribute_mappings Jsii::Type.check_type(@multi_measure_attribute_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfdGltZXN0cmVhbS5DZm5TY2hlZHVsZWRRdWVyeS5NdWx0aU1lYXN1cmVBdHRyaWJ1dGVNYXBwaW5nUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "multiMeasureAttributeMappings") @target_multi_measure_name = target_multi_measure_name Jsii::Type.check_type(@target_multi_measure_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetMultiMeasureName") unless @target_multi_measure_name.nil? end |
Instance Attribute Details
#multi_measure_attribute_mappings ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Timestream::CfnScheduledQuery::MultiMeasureAttributeMappingProperty> (readonly)
Required.
Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
932 933 934 |
# File 'timestream/cfn_scheduled_query.rb', line 932 def multi_measure_attribute_mappings @multi_measure_attribute_mappings end |
#target_multi_measure_name ⇒ String? (readonly)
The name of the target multi-measure name in the derived table.
This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
939 940 941 |
# File 'timestream/cfn_scheduled_query.rb', line 939 def target_multi_measure_name @target_multi_measure_name end |
Class Method Details
.jsii_properties ⇒ Object
941 942 943 944 945 946 |
# File 'timestream/cfn_scheduled_query.rb', line 941 def self.jsii_properties { :multi_measure_attribute_mappings => "multiMeasureAttributeMappings", :target_multi_measure_name => "targetMultiMeasureName", } end |
Instance Method Details
#to_jsii ⇒ Object
948 949 950 951 952 953 954 955 |
# File 'timestream/cfn_scheduled_query.rb', line 948 def to_jsii result = {} result.merge!({ "multiMeasureAttributeMappings" => @multi_measure_attribute_mappings, "targetMultiMeasureName" => @target_multi_measure_name, }) result.compact end |