aws-cdk-lib.aws_timestream.CfnScheduledQuery.MixedMeasureMappingProperty

interface MixedMeasureMappingProperty

LanguageType name
.NETAmazon.CDK.AWS.Timestream.CfnScheduledQuery.MixedMeasureMappingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awstimestream#CfnScheduledQuery_MixedMeasureMappingProperty
Javasoftware.amazon.awscdk.services.timestream.CfnScheduledQuery.MixedMeasureMappingProperty
Pythonaws_cdk.aws_timestream.CfnScheduledQuery.MixedMeasureMappingProperty
TypeScript aws-cdk-lib » aws_timestream » CfnScheduledQuery » MixedMeasureMappingProperty

MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.

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 mixedMeasureMappingProperty: timestream.CfnScheduledQuery.MixedMeasureMappingProperty = {
  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',
};

Properties

NameTypeDescription
measureValueTypestringType of the value that is to be read from sourceColumn.
measureName?stringRefers to the value of measure_name in a result row.
multiMeasureAttributeMappings?IResolvable | IResolvable | MultiMeasureAttributeMappingProperty[]Required when measureValueType is MULTI.
sourceColumn?stringThis field refers to the source column from which measure-value is to be read for result materialization.
targetMeasureName?stringTarget measure name to be used.

measureValueType

Type: string

Type of the value that is to be read from sourceColumn.

If the mapping is for MULTI, use MeasureValueType.MULTI.


measureName?

Type: string (optional)

Refers to the value of measure_name in a result row.

This field is required if MeasureNameColumn is provided.


multiMeasureAttributeMappings?

Type: IResolvable | IResolvable | MultiMeasureAttributeMappingProperty[] (optional)

Required when measureValueType is MULTI.

Attribute mappings for MULTI value measures.


sourceColumn?

Type: string (optional)

This field refers to the source column from which measure-value is to be read for result materialization.


targetMeasureName?

Type: string (optional)

Target measure name to be used.

If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.