interface DeltaTimeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnDataset.DeltaTimeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_DeltaTimeProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnDataset.DeltaTimeProperty |
Python | aws_cdk.aws_iotanalytics.CfnDataset.DeltaTimeProperty |
TypeScript | aws-cdk-lib » aws_iotanalytics » CfnDataset » DeltaTimeProperty |
Used to limit data to that which has arrived since the last execution of the action.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const deltaTimeProperty: iotanalytics.CfnDataset.DeltaTimeProperty = {
offsetSeconds: 123,
timeExpression: 'timeExpression',
};
Properties
Name | Type | Description |
---|---|---|
offset | number | The number of seconds of estimated in-flight lag time of message data. |
time | string | An expression by which the time of the message data might be determined. |
offsetSeconds
Type:
number
The number of seconds of estimated in-flight lag time of message data.
When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.
timeExpression
Type:
string
An expression by which the time of the message data might be determined.
This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.