interface QueryActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnDataset.QueryActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_QueryActionProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnDataset.QueryActionProperty |
Python | aws_cdk.aws_iotanalytics.CfnDataset.QueryActionProperty |
TypeScript | aws-cdk-lib » 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 { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
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.