Interface CfnScheduledQuery.TimestreamConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnScheduledQuery.TimestreamConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnScheduledQuery

@Stability(Stable) public static interface CfnScheduledQuery.TimestreamConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Configuration to write data into Timestream database and table.

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.services.timestream.*;
 TimestreamConfigurationProperty timestreamConfigurationProperty = TimestreamConfigurationProperty.builder()
         .databaseName("databaseName")
         .dimensionMappings(List.of(DimensionMappingProperty.builder()
                 .dimensionValueType("dimensionValueType")
                 .name("name")
                 .build()))
         .tableName("tableName")
         .timeColumn("timeColumn")
         // the properties below are optional
         .measureNameColumn("measureNameColumn")
         .mixedMeasureMappings(List.of(MixedMeasureMappingProperty.builder()
                 .measureValueType("measureValueType")
                 // the properties below are optional
                 .measureName("measureName")
                 .multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
                         .measureValueType("measureValueType")
                         .sourceColumn("sourceColumn")
                         // the properties below are optional
                         .targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
                         .build()))
                 .sourceColumn("sourceColumn")
                 .targetMeasureName("targetMeasureName")
                 .build()))
         .multiMeasureMappings(MultiMeasureMappingsProperty.builder()
                 .multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
                         .measureValueType("measureValueType")
                         .sourceColumn("sourceColumn")
                         // the properties below are optional
                         .targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
                         .build()))
                 // the properties below are optional
                 .targetMultiMeasureName("targetMultiMeasureName")
                 .build())
         .build();
 

See Also: