aws-cdk-lib.aws_iotanalytics.CfnDataset.VariableProperty

interface VariableProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnDataset.VariableProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_VariableProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnDataset.VariableProperty
Pythonaws_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

NameTypeDescription
variableNamestringThe name of the variable.
datasetContentVersionValue?IResolvable | DatasetContentVersionValuePropertyThe value of the variable as a structure that specifies a dataset content version.
doubleValue?numberThe value of the variable as a double (numeric).
outputFileUriValue?IResolvable | OutputFileUriValuePropertyThe value of the variable as a structure that specifies an output file URI.
stringValue?stringThe value of the variable as a string.

variableName

Type: string

The name of the variable.


datasetContentVersionValue?

Type: IResolvable | DatasetContentVersionValueProperty (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 | OutputFileUriValueProperty (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.