Class CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Timestream.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty : CfnScheduledQueryPropsMixin.IMixedMeasureMappingProperty
Syntax (vb)
Public Class CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty Implements CfnScheduledQueryPropsMixin.IMixedMeasureMappingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Timestream.Mixins;
var mixedMeasureMappingProperty = new MixedMeasureMappingProperty {
MeasureName = "measureName",
MeasureValueType = "measureValueType",
MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
MeasureValueType = "measureValueType",
SourceColumn = "sourceColumn",
TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
} },
SourceColumn = "sourceColumn",
TargetMeasureName = "targetMeasureName"
};
Synopsis
Constructors
| MixedMeasureMappingProperty() | MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table. |
Properties
| MeasureName | Refers to the value of measure_name in a result row. |
| MeasureValueType | Type of the value that is to be read from sourceColumn. |
| MultiMeasureAttributeMappings | Required when measureValueType is MULTI. |
| SourceColumn | This field refers to the source column from which measure-value is to be read for result materialization. |
| TargetMeasureName | Target measure name to be used. |
Constructors
MixedMeasureMappingProperty()
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
public MixedMeasureMappingProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Timestream.Mixins;
var mixedMeasureMappingProperty = new MixedMeasureMappingProperty {
MeasureName = "measureName",
MeasureValueType = "measureValueType",
MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
MeasureValueType = "measureValueType",
SourceColumn = "sourceColumn",
TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
} },
SourceColumn = "sourceColumn",
TargetMeasureName = "targetMeasureName"
};
Properties
MeasureName
Refers to the value of measure_name in a result row.
public string? MeasureName { get; set; }
Property Value
Remarks
This field is required if MeasureNameColumn is provided.
MeasureValueType
Type of the value that is to be read from sourceColumn.
public string? MeasureValueType { get; set; }
Property Value
Remarks
If the mapping is for MULTI, use MeasureValueType.MULTI.
MultiMeasureAttributeMappings
Required when measureValueType is MULTI.
public object? MultiMeasureAttributeMappings { get; set; }
Property Value
Remarks
Attribute mappings for MULTI value measures.
Type union: either IResolvable or (either IResolvable or CfnScheduledQueryPropsMixin.IMultiMeasureAttributeMappingProperty)[]
SourceColumn
This field refers to the source column from which measure-value is to be read for result materialization.
public string? SourceColumn { get; set; }
Property Value
Remarks
TargetMeasureName
Target measure name to be used.
public string? TargetMeasureName { get; set; }
Property Value
Remarks
If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.