Interface CfnPipe.PipeTargetTimestreamParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.PipeTargetTimestreamParametersProperty.Jsii$Proxy
- Enclosing class:
CfnPipe
Example:
// 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.*; PipeTargetTimestreamParametersProperty pipeTargetTimestreamParametersProperty = PipeTargetTimestreamParametersProperty.builder() .dimensionMappings(List.of(DimensionMappingProperty.builder() .dimensionName("dimensionName") .dimensionValue("dimensionValue") .dimensionValueType("dimensionValueType") .build())) .timeValue("timeValue") .versionValue("versionValue") // the properties below are optional .epochTimeUnit("epochTimeUnit") .multiMeasureMappings(List.of(MultiMeasureMappingProperty.builder() .multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder() .measureValue("measureValue") .measureValueType("measureValueType") .multiMeasureAttributeName("multiMeasureAttributeName") .build())) .multiMeasureName("multiMeasureName") .build())) .singleMeasureMappings(List.of(SingleMeasureMappingProperty.builder() .measureName("measureName") .measureValue("measureValue") .measureValueType("measureValueType") .build())) .timeFieldType("timeFieldType") .timestampFormat("timestampFormat") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipe.PipeTargetTimestreamParametersProperty
static final class
An implementation forCfnPipe.PipeTargetTimestreamParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Map source data to dimensions in the target Timestream for LiveAnalytics table.default String
The granularity of the time units used.default Object
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.default Object
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.default String
The type of time value used.default String
How to format the timestamps.Dynamic path to the source data field that represents the time value for your data.64 bit version value or source data field that represents the version value for your data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensionMappings
Map source data to dimensions in the target Timestream for LiveAnalytics table.For more information, see Amazon Timestream for LiveAnalytics concepts
- See Also:
-
getTimeValue
Dynamic path to the source data field that represents the time value for your data.- See Also:
-
getVersionValue
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
.Version
must be1
or greater, or you will receive aValidationException
error.- See Also:
-
getEpochTimeUnit
The granularity of the time units used. Default isMILLISECONDS
.Required if
TimeFieldType
is specified asEPOCH
.- See Also:
-
getMultiMeasureMappings
Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.- See Also:
-
getSingleMeasureMappings
Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.- See Also:
-
getTimeFieldType
The type of time value used.The default is
EPOCH
.- See Also:
-
getTimestampFormat
How to format the timestamps. For example,yyyy-MM-dd'T'HH:mm:ss'Z'
.Required if
TimeFieldType
is specified asTIMESTAMP_FORMAT
.- See Also:
-
builder
-