Interface CfnDataset.VariableProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.VariableProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.VariableProperty
extends software.amazon.jsii.JsiiSerializable
An instance of a variable to be passed to the
containerAction execution.
Each variable must have a name and a value given by one of stringValue , datasetContentVersionValue , or outputFileUriValue .
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.*;
VariableProperty variableProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.VariablePropertystatic final classAn implementation forCfnDataset.VariableProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe value of the variable as a structure that specifies a dataset content version.default NumberThe value of the variable as a double (numeric).default ObjectThe value of the variable as a structure that specifies an output file URI.default StringThe value of the variable as a string.The name of the variable.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVariableName
The name of the variable.- See Also:
-
getDatasetContentVersionValue
The value of the variable as a structure that specifies a dataset content version.Returns union: either
IResolvableorCfnDataset.DatasetContentVersionValueProperty- See Also:
-
getDoubleValue
The value of the variable as a double (numeric).- See Also:
-
getOutputFileUriValue
The value of the variable as a structure that specifies an output file URI.Returns union: either
IResolvableorCfnDataset.OutputFileUriValueProperty- See Also:
-
getStringValue
The value of the variable as a string.- See Also:
-
builder
-