Skip to content
v2.278.0

MultiMeasureAttributeMappingProperty Struct ​

A mapping of a source event data field to a measure in a Timestream for LiveAnalytics record.

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 multiMeasureAttributeMappingProperty: pipes.CfnPipe.MultiMeasureAttributeMappingProperty = {
  measureValue: 'measureValue',
  measureValueType: 'measureValueType',
  multiMeasureAttributeName: 'multiMeasureAttributeName',
};
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

multi_measure_attribute_mapping_property = pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
    measure_value="measureValue",
    measure_value_type="measureValueType",
    multi_measure_attribute_name="multiMeasureAttributeName"
)
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.*;

MultiMeasureAttributeMappingProperty multiMeasureAttributeMappingProperty = MultiMeasureAttributeMappingProperty.builder()
        .measureValue("measureValue")
        .measureValueType("measureValueType")
        .multiMeasureAttributeName("multiMeasureAttributeName")
        .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 multiMeasureAttributeMappingProperty = new MultiMeasureAttributeMappingProperty {
    MeasureValue = "measureValue",
    MeasureValueType = "measureValueType",
    MultiMeasureAttributeName = "multiMeasureAttributeName"
};
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{
	MeasureValue: jsii.String("measureValue"),
	MeasureValueType: jsii.String("measureValueType"),
	MultiMeasureAttributeName: jsii.String("multiMeasureAttributeName"),
}

Properties ​

measureValuestringmeasure_valuestrmeasureValueStringMeasureValuestringMeasureValue*string required #
Dynamic path to the measurement attribute in the source event.
measureValueTypestringmeasure_value_typestrmeasureValueTypeStringMeasureValueTypestringMeasureValueType*string required #
Data type of the measurement attribute in the source event.
multiMeasureAttributeNamestringmulti_measure_attribute_namestrmultiMeasureAttributeNameStringMultiMeasureAttributeNamestringMultiMeasureAttributeName*string required #
Target measure name to be used.