Interface CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnScheduledQueryPropsMixin
This configuration allows the user to map the query result select columns into the destination table columns.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.timestream.*;
TimestreamConfigurationProperty timestreamConfigurationProperty = TimestreamConfigurationProperty.builder()
.databaseName("databaseName")
.dimensionMappings(List.of(DimensionMappingProperty.builder()
.dimensionValueType("dimensionValueType")
.name("name")
.build()))
.measureNameColumn("measureNameColumn")
.mixedMeasureMappings(List.of(MixedMeasureMappingProperty.builder()
.measureName("measureName")
.measureValueType("measureValueType")
.multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
.measureValueType("measureValueType")
.sourceColumn("sourceColumn")
.targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
.build()))
.sourceColumn("sourceColumn")
.targetMeasureName("targetMeasureName")
.build()))
.multiMeasureMappings(MultiMeasureMappingsProperty.builder()
.multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
.measureValueType("measureValueType")
.sourceColumn("sourceColumn")
.targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
.build()))
.targetMultiMeasureName("targetMultiMeasureName")
.build())
.tableName("tableName")
.timeColumn("timeColumn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringName of Timestream database to which the query result will be written.default ObjectThis is to allow mapping column(s) from the query result to the dimension in the destination table.default StringName of the measure column.default ObjectSpecifies how to map measures to multi-measure records.default ObjectMulti-measure mappings.default StringName of Timestream table that the query result will be written to.default StringColumn from query result that should be used as the time column in destination table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseName
Name of Timestream database to which the query result will be written.- See Also:
-
getDimensionMappings
This is to allow mapping column(s) from the query result to the dimension in the destination table.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScheduledQueryPropsMixin.DimensionMappingProperty>- See Also:
-
getMeasureNameColumn
Name of the measure column.Also see
MultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.- See Also:
-
getMixedMeasureMappings
Specifies how to map measures to multi-measure records.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScheduledQueryPropsMixin.MixedMeasureMappingProperty>- See Also:
-
getMultiMeasureMappings
Multi-measure mappings.Returns union: either
IResolvableorCfnScheduledQueryPropsMixin.MultiMeasureMappingsProperty- See Also:
-
getTableName
Name of Timestream table that the query result will be written to.The table should be within the same database that is provided in Timestream configuration.
- See Also:
-
getTimeColumn
Column from query result that should be used as the time column in destination table.Column type for this should be TIMESTAMP.
- See Also:
-
builder
@Stability(Stable) static CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder builder()
-