interface TimestreamConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Timestream.Mixins.CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awstimestream/mixins#CfnScheduledQueryPropsMixin_TimestreamConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.timestream.mixins.CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_timestream.mixins.CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_timestream » mixins » CfnScheduledQueryPropsMixin » TimestreamConfigurationProperty |
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 { mixins as timestream_mixins } from '@aws-cdk/mixins-preview/aws-timestream';
const timestreamConfigurationProperty: timestream_mixins.CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty = {
databaseName: 'databaseName',
dimensionMappings: [{
dimensionValueType: 'dimensionValueType',
name: 'name',
}],
measureNameColumn: 'measureNameColumn',
mixedMeasureMappings: [{
measureName: 'measureName',
measureValueType: 'measureValueType',
multiMeasureAttributeMappings: [{
measureValueType: 'measureValueType',
sourceColumn: 'sourceColumn',
targetMultiMeasureAttributeName: 'targetMultiMeasureAttributeName',
}],
sourceColumn: 'sourceColumn',
targetMeasureName: 'targetMeasureName',
}],
multiMeasureMappings: {
multiMeasureAttributeMappings: [{
measureValueType: 'measureValueType',
sourceColumn: 'sourceColumn',
targetMultiMeasureAttributeName: 'targetMultiMeasureAttributeName',
}],
targetMultiMeasureName: 'targetMultiMeasureName',
},
tableName: 'tableName',
timeColumn: 'timeColumn',
};
Properties
| Name | Type | Description |
|---|---|---|
| database | string | Name of Timestream database to which the query result will be written. |
| dimension | IResolvable | (IResolvable | Dimension)[] | This is to allow mapping column(s) from the query result to the dimension in the destination table. |
| measure | string | Name of the measure column. |
| mixed | IResolvable | (IResolvable | Mixed)[] | Specifies how to map measures to multi-measure records. |
| multi | IResolvable | Multi | Multi-measure mappings. |
| table | string | Name of Timestream table that the query result will be written to. |
| time | string | Column from query result that should be used as the time column in destination table. |
databaseName?
Type:
string
(optional)
Name of Timestream database to which the query result will be written.
dimensionMappings?
Type:
IResolvable | (IResolvable | Dimension)[]
(optional)
This is to allow mapping column(s) from the query result to the dimension in the destination table.
measureNameColumn?
Type:
string
(optional)
Name of the measure column.
Also see MultiMeasureMappings and MixedMeasureMappings for how measure name properties on those relate to MeasureNameColumn .
mixedMeasureMappings?
Type:
IResolvable | (IResolvable | Mixed)[]
(optional)
Specifies how to map measures to multi-measure records.
multiMeasureMappings?
Type:
IResolvable | Multi
(optional)
Multi-measure mappings.
tableName?
Type:
string
(optional)
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?
Type:
string
(optional)
Column from query result that should be used as the time column in destination table.
Column type for this should be TIMESTAMP.

.NET
Go
Java
Python
TypeScript