interface VariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnDataset.VariableProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_VariableProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnDataset.VariableProperty |
Python | aws_cdk.aws_iotanalytics.CfnDataset.VariableProperty |
TypeScript | aws-cdk-lib » aws_iotanalytics » CfnDataset » VariableProperty |
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 { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const variableProperty: iotanalytics.CfnDataset.VariableProperty = {
variableName: 'variableName',
// the properties below are optional
datasetContentVersionValue: {
datasetName: 'datasetName',
},
doubleValue: 123,
outputFileUriValue: {
fileName: 'fileName',
},
stringValue: 'stringValue',
};
Properties
| Name | Type | Description |
|---|---|---|
| variable | string | The name of the variable. |
| dataset | IResolvable | Dataset | The value of the variable as a structure that specifies a dataset content version. |
| double | number | The value of the variable as a double (numeric). |
| output | IResolvable | Output | The value of the variable as a structure that specifies an output file URI. |
| string | string | The value of the variable as a string. |
variableName
Type:
string
The name of the variable.
datasetContentVersionValue?
Type:
IResolvable | Dataset
(optional)
The value of the variable as a structure that specifies a dataset content version.
doubleValue?
Type:
number
(optional)
The value of the variable as a double (numeric).
outputFileUriValue?
Type:
IResolvable | Output
(optional)
The value of the variable as a structure that specifies an output file URI.
stringValue?
Type:
string
(optional)
The value of the variable as a string.

.NET
Go
Java
Python
TypeScript