ScheduledQueryTargetConfigurationTimestreamConfiguration constructor

const ScheduledQueryTargetConfigurationTimestreamConfiguration({
  1. required Input<String> databaseName,
  2. required Input<List<ScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMapping>> dimensionMappings,
  3. Input<String?>? measureNameColumn,
  4. Input<List<ScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMapping>?>? mixedMeasureMappings,
  5. Input<ScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappings?>? multiMeasureMappings,
  6. required Input<String> tableName,
  7. required Input<String> timeColumn,
})

Creates a new ScheduledQueryTargetConfigurationTimestreamConfiguration. databaseName Name of Timestream database to which the query result will be written. dimensionMappings Configuration block for mapping of column(s) from the query result to the dimension in the destination table. See below. measureNameColumn Name of the measure column. mixedMeasureMappings Configuration block for how to map measures to multi-measure records. See below. multiMeasureMappings Configuration block for multi-measure mappings. Only one of mixedMeasureMappings or multiMeasureMappings can be provided. multiMeasureMappings can be used to ingest data as multi measures in the derived table. See below. tableName 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. timeColumn Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.

Implementation

const ScheduledQueryTargetConfigurationTimestreamConfiguration({
  required this.databaseName,
  required this.dimensionMappings,
  this.measureNameColumn,
  this.mixedMeasureMappings,
  this.multiMeasureMappings,
  required this.tableName,
  required this.timeColumn,
});