SingleMeasureMappingProperty Struct
Maps a single source data field to a single record in the specified Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
| 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_pipes as pipes } from 'aws-cdk-lib';
const singleMeasureMappingProperty: pipes.CfnPipe.SingleMeasureMappingProperty = {
measureName: 'measureName',
measureValue: 'measureValue',
measureValueType: 'measureValueType',
};
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_pipes as pipes
single_measure_mapping_property = pipes.CfnPipe.SingleMeasureMappingProperty(
measure_name="measureName",
measure_value="measureValue",
measure_value_type="measureValueType"
)
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.pipes.*;
SingleMeasureMappingProperty singleMeasureMappingProperty = SingleMeasureMappingProperty.builder()
.measureName("measureName")
.measureValue("measureValue")
.measureValueType("measureValueType")
.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.Pipes;
var singleMeasureMappingProperty = new SingleMeasureMappingProperty {
MeasureName = "measureName",
MeasureValue = "measureValue",
MeasureValueType = "measureValueType"
};
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"
singleMeasureMappingProperty := &SingleMeasureMappingProperty{
MeasureName: jsii.String("measureName"),
MeasureValue: jsii.String("measureValue"),
MeasureValueType: jsii.String("measureValueType"),
}
Properties
Target measure name for the measurement attribute in the Timestream table.
measureValuestringmeasure_valuestrmeasureValueStringMeasureValuestringMeasureValue*string required #Dynamic path of the source field to map to the measure in the record.
measureValueTypestringmeasure_value_typestrmeasureValueTypeStringMeasureValueTypestringMeasureValueType*string required #Data type of the source field.