FilterProperty Struct
Information which is used to filter message data, to segregate it according to the time frame in which it arrives.
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 filterProperty: iotanalytics.CfnDataset.FilterProperty = {
deltaTime: {
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
filter_property = iotanalytics.CfnDataset.FilterProperty(
delta_time=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.*;
FilterProperty filterProperty = FilterProperty.builder()
.deltaTime(DeltaTimeProperty.builder()
.offsetSeconds(123)
.timeExpression("timeExpression")
.build())
.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 filterProperty = new FilterProperty {
DeltaTime = 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"
filterProperty := &FilterProperty{
DeltaTime: &DeltaTimeProperty{
OffsetSeconds: jsii.Number(123),
TimeExpression: jsii.String("timeExpression"),
},
}
Properties
deltaTimeoptionalIResolvable | CfnDataset.DeltaTimePropertydelta_timeoptionaltyping.Union[IResolvable, DeltaTimeProperty]deltaTimeoptionalIResolvableDeltaTimeoptionalIResolvableDeltaTimeoptionalinterface{}#Used to limit data to that which has arrived since the last execution of the action.