AwsSTimestreamTargetConfiguration extends the type TargetConfiguration with specific configuration data for sending data to a Timestream table. The Targets configuration element can contain entries of this type, the TargetType of these entries must be set to "AWS-TIMESTREAM"
Requires IAM timestream:WriteRecords permission for the configures table as well timestream:DescribeEndpoints
- AwsTimestreamTargetConfiguration
- AwsTimestreamRecordConfiguration
- AwsTimestreamDimensionConfiguration
Name | Description | Type | Comments |
Database | Timestream database | String | |
TableName | Timestream table | String | |
Batch Size | Batch size for writing records to table | Integer | Default is 10 |
Interval | Interval in milliseconds after which data is written even if the buffer is not full | Integer | Optional, if not set only BatchSize is used, minimum value is 10 |
Records | Records to write to table | List of AwsTimestreamRecordConfiguration |
Timestream records to write | |||
---|---|---|---|
Name | Description | Type | Comments |
MeasureName | Measure name for the value | String | |
MeasureValuePath | JMES path that selects the value to write to the record from the data received by the target writer | String |
A path typically has the format sourcename.valuename or sourcename.valuename.value (If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for data values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename) |
MeasureValueType | Type of the value | DOUBLE, BIGINT,VARCHAR,BOOLEAN | |
MeasureTimePath | JMES path that selects the timestamp to use with to the property value from the data received by the target writer | String |
If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for timestamp values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename) |
Dimensions | Record dimensions | List of AwsTimestreamDimensionConfiguration |
Timestream record dimensions | |||
---|---|---|---|
Name | Description | Type | Comments |
DimensionName | Name for the dimensions | String | |
DimensionValue | Fixed dimension value | String | Either DimensionValue or DimensionValuePath (see below) can be used. |
DimensionValuePath | JMES path that selects the value to write to the dimensions from the data received by the target writer | String |
A path typically has the format sourcename.valuename or sourcename.valuename.value (If the data entries contain both value and timestamp, in case TimestampLevel "channel" or "both" is used in the root of the configuration file) the writer will automatically look for a field with the name used for data values specified in "ElementNames" at the top level of the configuration for a path sourcename.valuename) |