AWS::Pipes::Pipe PipeTargetTimestreamParameters
The parameters for using a Timestream for LiveAnalytics table as a target.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DimensionMappings" :
[ DimensionMapping, ... ]
, "EpochTimeUnit" :String
, "MultiMeasureMappings" :[ MultiMeasureMapping, ... ]
, "SingleMeasureMappings" :[ SingleMeasureMapping, ... ]
, "TimeFieldType" :String
, "TimestampFormat" :String
, "TimeValue" :String
, "VersionValue" :String
}
YAML
DimensionMappings:
- DimensionMapping
EpochTimeUnit:String
MultiMeasureMappings:- MultiMeasureMapping
SingleMeasureMappings:- SingleMeasureMapping
TimeFieldType:String
TimestampFormat:String
TimeValue:String
VersionValue:String
Properties
DimensionMappings
-
Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
Required: Yes
Type: Array of DimensionMapping
Minimum:
1
Maximum:
128
Update requires: No interruption
EpochTimeUnit
-
The granularity of the time units used. Default is
MILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.Required: No
Type: String
Allowed values:
MILLISECONDS | SECONDS | MICROSECONDS | NANOSECONDS
Update requires: No interruption
MultiMeasureMappings
-
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
Required: No
Type: Array of MultiMeasureMapping
Minimum:
0
Maximum:
1024
Update requires: No interruption
SingleMeasureMappings
-
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
Required: No
Type: Array of SingleMeasureMapping
Minimum:
0
Maximum:
8192
Update requires: No interruption
TimeFieldType
-
The type of time value used.
The default is
EPOCH
.Required: No
Type: String
Allowed values:
EPOCH | TIMESTAMP_FORMAT
Update requires: No interruption
TimestampFormat
-
How to format the timestamps. For example,
yyyy-MM-dd'T'HH:mm:ss'Z'
.Required if
TimeFieldType
is specified asTIMESTAMP_FORMAT
.Required: No
Type: String
Minimum:
1
Maximum:
256
Update requires: No interruption
TimeValue
-
Dynamic path to the source data field that represents the time value for your data.
Required: Yes
Type: String
Minimum:
1
Maximum:
256
Update requires: No interruption
VersionValue
-
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 is1
.Note
Version
must be1
or greater, or you will receive aValidationException
error.Required: Yes
Type: String
Minimum:
1
Maximum:
256
Update requires: No interruption