interface TargetConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Timestream.CfnScheduledQuery.TargetConfigurationProperty |
Java | software.amazon.awscdk.services.timestream.CfnScheduledQuery.TargetConfigurationProperty |
Python | aws_cdk.aws_timestream.CfnScheduledQuery.TargetConfigurationProperty |
TypeScript | @aws-cdk/aws-timestream » CfnScheduledQuery » TargetConfigurationProperty |
Configuration used for writing the output of a query.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as timestream from '@aws-cdk/aws-timestream';
const targetConfigurationProperty: timestream.CfnScheduledQuery.TargetConfigurationProperty = {
timestreamConfiguration: {
databaseName: 'databaseName',
dimensionMappings: [{
dimensionValueType: 'dimensionValueType',
name: 'name',
}],
tableName: 'tableName',
timeColumn: 'timeColumn',
// the properties below are optional
measureNameColumn: 'measureNameColumn',
mixedMeasureMappings: [{
measureValueType: 'measureValueType',
// the properties below are optional
measureName: 'measureName',
multiMeasureAttributeMappings: [{
measureValueType: 'measureValueType',
sourceColumn: 'sourceColumn',
// the properties below are optional
targetMultiMeasureAttributeName: 'targetMultiMeasureAttributeName',
}],
sourceColumn: 'sourceColumn',
targetMeasureName: 'targetMeasureName',
}],
multiMeasureMappings: {
multiMeasureAttributeMappings: [{
measureValueType: 'measureValueType',
sourceColumn: 'sourceColumn',
// the properties below are optional
targetMultiMeasureAttributeName: 'targetMultiMeasureAttributeName',
}],
// the properties below are optional
targetMultiMeasureName: 'targetMultiMeasureName',
},
},
};
Properties
Name | Type | Description |
---|---|---|
timestream | IResolvable | Timestream | Configuration needed to write data into the Timestream database and table. |
timestreamConfiguration
Type:
IResolvable
|
Timestream
Configuration needed to write data into the Timestream database and table.