MixedMeasureMappingProperty Struct
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
Example
ts
// 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
Refers to the value of measure_name in a result row.
This field is required if MeasureNameColumn is provided.
measureValueTypestringmeasure_value_typestrmeasureValueTypeStringMeasureValueTypestringMeasureValueType*stringrequired#Type of the value that is to be read from sourceColumn.
If the mapping is for MULTI, use MeasureValueType.MULTI.
multiMeasureAttributeMappingsIResolvable | IResolvable | CfnScheduledQuery.MultiMeasureAttributeMappingProperty[]multi_measure_attribute_mappingstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MultiMeasureAttributeMappingProperty]]]multiMeasureAttributeMappingsIResolvableMultiMeasureAttributeMappingsIResolvableMultiMeasureAttributeMappingsinterface{}#Required when measureValueType is MULTI.
Attribute mappings for MULTI value measures.
This field refers to the source column from which measure-value is to be read for result materialization.
targetMeasureNamestringtarget_measure_namestrtargetMeasureNameStringTargetMeasureNamestringTargetMeasureName*string#Target measure name to be used.
If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.