aws-cdk-lib.aws_timestream.CfnScheduledQuery.TargetConfigurationProperty

interface TargetConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Timestream.CfnScheduledQuery.TargetConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awstimestream#CfnScheduledQuery_TargetConfigurationProperty
Javasoftware.amazon.awscdk.services.timestream.CfnScheduledQuery.TargetConfigurationProperty
Pythonaws_cdk.aws_timestream.CfnScheduledQuery.TargetConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_timestream as timestream } from 'aws-cdk-lib';
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

NameTypeDescription
timestreamConfigurationIResolvable | TimestreamConfigurationPropertyConfiguration needed to write data into the Timestream database and table.

timestreamConfiguration

Type: IResolvable | TimestreamConfigurationProperty

Configuration needed to write data into the Timestream database and table.