interface PipeTargetTimestreamParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pipes.Mixins.CfnPipePropsMixin.PipeTargetTimestreamParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspipes/mixins#CfnPipePropsMixin_PipeTargetTimestreamParametersProperty |
Java | software.amazon.awscdk.mixins.preview.services.pipes.mixins.CfnPipePropsMixin.PipeTargetTimestreamParametersProperty |
Python | aws_cdk.mixins_preview.aws_pipes.mixins.CfnPipePropsMixin.PipeTargetTimestreamParametersProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pipes » mixins » CfnPipePropsMixin » PipeTargetTimestreamParametersProperty |
The parameters for using a Timestream for LiveAnalytics table as a target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as pipes_mixins } from '@aws-cdk/mixins-preview/aws-pipes';
const pipeTargetTimestreamParametersProperty: pipes_mixins.CfnPipePropsMixin.PipeTargetTimestreamParametersProperty = {
dimensionMappings: [{
dimensionName: 'dimensionName',
dimensionValue: 'dimensionValue',
dimensionValueType: 'dimensionValueType',
}],
epochTimeUnit: 'epochTimeUnit',
multiMeasureMappings: [{
multiMeasureAttributeMappings: [{
measureValue: 'measureValue',
measureValueType: 'measureValueType',
multiMeasureAttributeName: 'multiMeasureAttributeName',
}],
multiMeasureName: 'multiMeasureName',
}],
singleMeasureMappings: [{
measureName: 'measureName',
measureValue: 'measureValue',
measureValueType: 'measureValueType',
}],
timeFieldType: 'timeFieldType',
timestampFormat: 'timestampFormat',
timeValue: 'timeValue',
versionValue: 'versionValue',
};
Properties
| Name | Type | Description |
|---|---|---|
| dimension | IResolvable | (IResolvable | Dimension)[] | Map source data to dimensions in the target Timestream for LiveAnalytics table. |
| epoch | string | The granularity of the time units used. Default is MILLISECONDS . |
| multi | IResolvable | (IResolvable | Multi)[] | Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table. |
| single | IResolvable | (IResolvable | Single)[] | Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table. |
| time | string | The type of time value used. |
| time | string | Dynamic path to the source data field that represents the time value for your data. |
| timestamp | string | How to format the timestamps. For example, yyyy-MM-dd'T'HH:mm:ss'Z' . |
| version | string | 64 bit version value or source data field that represents the version value for your data. |
dimensionMappings?
Type:
IResolvable | (IResolvable | Dimension)[]
(optional)
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
epochTimeUnit?
Type:
string
(optional)
The granularity of the time units used. Default is MILLISECONDS .
Required if TimeFieldType is specified as EPOCH .
multiMeasureMappings?
Type:
IResolvable | (IResolvable | Multi)[]
(optional)
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
singleMeasureMappings?
Type:
IResolvable | (IResolvable | Single)[]
(optional)
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
timeFieldType?
Type:
string
(optional)
The type of time value used.
The default is EPOCH .
timeValue?
Type:
string
(optional)
Dynamic path to the source data field that represents the time value for your data.
timestampFormat?
Type:
string
(optional)
How to format the timestamps. For example, yyyy-MM-dd'T'HH:mm:ss'Z' .
Required if TimeFieldType is specified as TIMESTAMP_FORMAT .
versionValue?
Type:
string
(optional)
64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version will still be updated. Default value is 1 .
Versionmust be1or greater, or you will receive aValidationExceptionerror.

.NET
Go
Java
Python
TypeScript