MultiMeasureMappingProperty Struct
Maps multiple measures from the source event to the same Timestream for LiveAnalytics record.
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 multiMeasureMappingProperty: pipes.CfnPipe.MultiMeasureMappingProperty = {
multiMeasureAttributeMappings: [{
measureValue: 'measureValue',
measureValueType: 'measureValueType',
multiMeasureAttributeName: 'multiMeasureAttributeName',
}],
multiMeasureName: 'multiMeasureName',
};
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_mapping_property = pipes.CfnPipe.MultiMeasureMappingProperty(
multi_measure_attribute_mappings=[pipes.CfnPipe.MultiMeasureAttributeMappingProperty(
measure_value="measureValue",
measure_value_type="measureValueType",
multi_measure_attribute_name="multiMeasureAttributeName"
)],
multi_measure_name="multiMeasureName"
)
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.*;
MultiMeasureMappingProperty multiMeasureMappingProperty = MultiMeasureMappingProperty.builder()
.multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder()
.measureValue("measureValue")
.measureValueType("measureValueType")
.multiMeasureAttributeName("multiMeasureAttributeName")
.build()))
.multiMeasureName("multiMeasureName")
.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 multiMeasureMappingProperty = new MultiMeasureMappingProperty {
MultiMeasureAttributeMappings = new [] { new MultiMeasureAttributeMappingProperty {
MeasureValue = "measureValue",
MeasureValueType = "measureValueType",
MultiMeasureAttributeName = "multiMeasureAttributeName"
} },
MultiMeasureName = "multiMeasureName"
};
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"
multiMeasureMappingProperty := &MultiMeasureMappingProperty{
MultiMeasureAttributeMappings: []interface{}{
&MultiMeasureAttributeMappingProperty{
MeasureValue: jsii.String("measureValue"),
MeasureValueType: jsii.String("measureValueType"),
MultiMeasureAttributeName: jsii.String("multiMeasureAttributeName"),
},
},
MultiMeasureName: jsii.String("multiMeasureName"),
}
Properties
multiMeasureAttributeMappingsIResolvable | IResolvable | CfnPipe.multi_measure_attribute_mappingstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MultiMeasureAttributeMappingProperty]]]multiMeasureAttributeMappingsIResolvableMultiMeasureAttributeMappingsIResolvableMultiMeasureAttributeMappingsinterface{} required #Mappings that represent multiple source event fields mapped to measures in the same Timestream for LiveAnalytics record.
multiMeasureNamestringmulti_measure_namestrmultiMeasureNameStringMultiMeasureNamestringMultiMeasureName*string required #The name of the multiple measurements per record (multi-measure).