interface MixedMeasureMappingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Timestream.CfnScheduledQuery.MixedMeasureMappingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awstimestream#CfnScheduledQuery_MixedMeasureMappingProperty |
![]() | software.amazon.awscdk.services.timestream.CfnScheduledQuery.MixedMeasureMappingProperty |
![]() | aws_cdk.aws_timestream.CfnScheduledQuery.MixedMeasureMappingProperty |
![]() | 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
Name | Type | Description |
---|---|---|
measure | string | Type of the value that is to be read from sourceColumn. |
measure | string | Refers to the value of measure_name in a result row. |
multi | IResolvable | IResolvable | Multi [] | Required when measureValueType is MULTI. |
source | string | This field refers to the source column from which measure-value is to be read for result materialization. |
target | string | Target 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
|
Multi
[]
(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.