aws-cdk-lib.aws_iotsitewise.CfnAssetModel.ExpressionVariableProperty

interface ExpressionVariableProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTSiteWise.CfnAssetModel.ExpressionVariableProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_ExpressionVariableProperty
Javasoftware.amazon.awscdk.services.iotsitewise.CfnAssetModel.ExpressionVariableProperty
Pythonaws_cdk.aws_iotsitewise.CfnAssetModel.ExpressionVariableProperty
TypeScript aws-cdk-lib » aws_iotsitewise » CfnAssetModel » ExpressionVariableProperty

Contains expression variable information.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const expressionVariableProperty: iotsitewise.CfnAssetModel.ExpressionVariableProperty = {
  name: 'name',
  value: {
    propertyLogicalId: 'propertyLogicalId',

    // the properties below are optional
    hierarchyLogicalId: 'hierarchyLogicalId',
  },
};

Properties

NameTypeDescription
namestringThe friendly name of the variable to be used in the expression.
valueIResolvable | VariableValuePropertyThe variable that identifies an asset property from which to use values.

name

Type: string

The friendly name of the variable to be used in the expression.

The maximum length is 64 characters with the pattern ^[a-z][a-z0-9_]*$ .


value

Type: IResolvable | VariableValueProperty

The variable that identifies an asset property from which to use values.