Interface CfnDataset.ActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataset.ActionProperty.Jsii$Proxy
Enclosing class:
CfnDataset

@Stability(Stable) public static interface CfnDataset.ActionProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotanalytics.*;
 ActionProperty actionProperty = ActionProperty.builder()
         .actionName("actionName")
         // the properties below are optional
         .containerAction(ContainerActionProperty.builder()
                 .executionRoleArn("executionRoleArn")
                 .image("image")
                 .resourceConfiguration(ResourceConfigurationProperty.builder()
                         .computeType("computeType")
                         .volumeSizeInGb(123)
                         .build())
                 // the properties below are optional
                 .variables(List.of(VariableProperty.builder()
                         .variableName("variableName")
                         // the properties below are optional
                         .datasetContentVersionValue(DatasetContentVersionValueProperty.builder()
                                 .datasetName("datasetName")
                                 .build())
                         .doubleValue(123)
                         .outputFileUriValue(OutputFileUriValueProperty.builder()
                                 .fileName("fileName")
                                 .build())
                         .stringValue("stringValue")
                         .build()))
                 .build())
         .queryAction(QueryActionProperty.builder()
                 .sqlQuery("sqlQuery")
                 // the properties below are optional
                 .filters(List.of(FilterProperty.builder()
                         .deltaTime(DeltaTimeProperty.builder()
                                 .offsetSeconds(123)
                                 .timeExpression("timeExpression")
                                 .build())
                         .build()))
                 .build())
         .build();
 
  • Method Details

    • getActionName

      @Stability(Stable) @NotNull String getActionName()
      The name of the data set action by which data set contents are automatically created.
    • getContainerAction

      @Stability(Stable) @Nullable default Object getContainerAction()
      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.

    • getQueryAction

      @Stability(Stable) @Nullable default Object getQueryAction()
      An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.
    • builder

      @Stability(Stable) static CfnDataset.ActionProperty.Builder builder()
      Returns:
      a CfnDataset.ActionProperty.Builder of CfnDataset.ActionProperty