interface QueryActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTAnalytics.CfnDataset.QueryActionProperty |
![]() | software.amazon.awscdk.services.iotanalytics.CfnDataset.QueryActionProperty |
![]() | aws_cdk.aws_iotanalytics.CfnDataset.QueryActionProperty |
![]() | @aws-cdk/aws-iotanalytics » CfnDataset » QueryActionProperty |
An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotanalytics from '@aws-cdk/aws-iotanalytics';
const queryActionProperty: iotanalytics.CfnDataset.QueryActionProperty = {
sqlQuery: 'sqlQuery',
// the properties below are optional
filters: [{
deltaTime: {
offsetSeconds: 123,
timeExpression: 'timeExpression',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
sql | string | An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents. |
filters? | IResolvable | IResolvable | Filter [] | Pre-filters applied to message data. |
sqlQuery
Type:
string
An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.
filters?
Type:
IResolvable
|
IResolvable
|
Filter
[]
(optional)
Pre-filters applied to message data.