Skip to content
v2.275.0

DimensionMappingProperty Struct ​

Maps source data to a dimension in the target Timestream for LiveAnalytics table.

For more information, see Amazon Timestream for LiveAnalytics concepts

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 dimensionMappingProperty: pipes.CfnPipe.DimensionMappingProperty = {
  dimensionName: 'dimensionName',
  dimensionValue: 'dimensionValue',
  dimensionValueType: 'dimensionValueType',
};

Properties ​

dimensionNamestringdimension_namestrdimensionNameStringDimensionNamestringDimensionName*stringrequired#
The metadata attributes of the time series.

For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

dimensionValuestringdimension_valuestrdimensionValueStringDimensionValuestringDimensionValue*stringrequired#
Dynamic path to the dimension value in the source event.
dimensionValueTypestringdimension_value_typestrdimensionValueTypeStringDimensionValueTypestringDimensionValueType*stringrequired#
The data type of the dimension for the time-series data.