Skip to content
v2.277.0

DeltaTimeProperty Struct ​

Used to limit data to that which has arrived since the last execution of the action.

Example ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotanalytics as iotanalytics

delta_time_property = iotanalytics.CfnDataset.DeltaTimeProperty(
    offset_seconds=123,
    time_expression="timeExpression"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;

DeltaTimeProperty deltaTimeProperty = DeltaTimeProperty.builder()
        .offsetSeconds(123)
        .timeExpression("timeExpression")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;

var deltaTimeProperty = new DeltaTimeProperty {
    OffsetSeconds = 123,
    TimeExpression = "timeExpression"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deltaTimeProperty := &DeltaTimeProperty{
	OffsetSeconds: jsii.Number(123),
	TimeExpression: jsii.String("timeExpression"),
}

Properties ​

offsetSecondsnumberoffset_secondsint | floatoffsetSecondsNumberOffsetSecondsdoubleOffsetSeconds*float64required#
The number of seconds of estimated in-flight lag time of message data.
notes

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.

timeExpressionstringtime_expressionstrtimeExpressionStringTimeExpressionstringTimeExpression*stringrequired#
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.