MultiMeasureAttributeMappingProperty Struct
Attribute mapping for MULTI value measures.
| Source | |
|---|---|
| Type last changed |
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 multiMeasureAttributeMappingProperty: timestream.CfnScheduledQuery.MultiMeasureAttributeMappingProperty = {
measureValueType: 'measureValueType',
sourceColumn: 'sourceColumn',
// the properties below are optional
targetMultiMeasureAttributeName: 'targetMultiMeasureAttributeName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_timestream as timestream
multi_measure_attribute_mapping_property = timestream.CfnScheduledQuery.MultiMeasureAttributeMappingProperty(
measure_value_type="measureValueType",
source_column="sourceColumn",
# the properties below are optional
target_multi_measure_attribute_name="targetMultiMeasureAttributeName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.timestream.*;
MultiMeasureAttributeMappingProperty multiMeasureAttributeMappingProperty = MultiMeasureAttributeMappingProperty.builder()
.measureValueType("measureValueType")
.sourceColumn("sourceColumn")
// the properties below are optional
.targetMultiMeasureAttributeName("targetMultiMeasureAttributeName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Timestream;
var multiMeasureAttributeMappingProperty = new MultiMeasureAttributeMappingProperty {
MeasureValueType = "measureValueType",
SourceColumn = "sourceColumn",
// the properties below are optional
TargetMultiMeasureAttributeName = "targetMultiMeasureAttributeName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
multiMeasureAttributeMappingProperty := &MultiMeasureAttributeMappingProperty{
MeasureValueType: jsii.String("measureValueType"),
SourceColumn: jsii.String("sourceColumn"),
// the properties below are optional
TargetMultiMeasureAttributeName: jsii.String("targetMultiMeasureAttributeName"),
}
Properties
measureValueTypestringmeasure_value_typestrmeasureValueTypeStringMeasureValueTypestringMeasureValueType*string required #Type of the attribute to be read from the source column.
sourceColumnstringsource_columnstrsourceColumnStringSourceColumnstringSourceColumn*string required #Source column from where the attribute value is to be read.
targetMultiMeasureAttributeNameoptionalstringtarget_multi_measure_attribute_nameoptionalstrtargetMultiMeasureAttributeNameoptionalStringTargetMultiMeasureAttributeNameoptionalstringTargetMultiMeasureAttributeNameoptional*string #Custom name to be used for attribute name in derived table.
If not provided, source column name would be used.