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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.ActionPropertystatic final classAn implementation forCfnDataset.ActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the data set action by which data set contents are automatically created.default ObjectInformation which allows the system to run a containerized application in order to create the data set contents.default ObjectAn "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionName
The name of the data set action by which data set contents are automatically created.- See Also:
-
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.
Returns union: either
IResolvableorCfnDataset.ContainerActionProperty- See Also:
-
getQueryAction
An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.Returns union: either
IResolvableorCfnDataset.QueryActionProperty- See Also:
-
builder
- Returns:
- a
CfnDataset.ActionProperty.BuilderofCfnDataset.ActionProperty
-