aws-cdk-lib.aws_iotanalytics.CfnDataset.ActionProperty

interface ActionProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnDataset.ActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_ActionProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnDataset.ActionProperty
Pythonaws_cdk.aws_iotanalytics.CfnDataset.ActionProperty
TypeScript aws-cdk-lib » aws_iotanalytics » CfnDataset » ActionProperty

Information needed to run the "containerAction" to produce 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 actionProperty: iotanalytics.CfnDataset.ActionProperty = {
  actionName: 'actionName',

  // the properties below are optional
  containerAction: {
    executionRoleArn: 'executionRoleArn',
    image: 'image',
    resourceConfiguration: {
      computeType: 'computeType',
      volumeSizeInGb: 123,
    },

    // the properties below are optional
    variables: [{
      variableName: 'variableName',

      // the properties below are optional
      datasetContentVersionValue: {
        datasetName: 'datasetName',
      },
      doubleValue: 123,
      outputFileUriValue: {
        fileName: 'fileName',
      },
      stringValue: 'stringValue',
    }],
  },
  queryAction: {
    sqlQuery: 'sqlQuery',

    // the properties below are optional
    filters: [{
      deltaTime: {
        offsetSeconds: 123,
        timeExpression: 'timeExpression',
      },
    }],
  },
};

Properties

NameTypeDescription
actionNamestringThe name of the data set action by which data set contents are automatically created.
containerAction?IResolvable | ContainerActionPropertyInformation which allows the system to run a containerized application in order to create the data set contents.
queryAction?IResolvable | QueryActionPropertyAn "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

actionName

Type: string

The name of the data set action by which data set contents are automatically created.


containerAction?

Type: IResolvable | ContainerActionProperty (optional)

Information which allows the system to run a containerized application in order to create the data set contents.

The application must be in a Docker container along with any needed support libraries.


queryAction?

Type: IResolvable | QueryActionProperty (optional)

An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.