Skip to content
v2.273.0

DataValueProperty Struct ​

An object that specifies a value for a property.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';

declare const dataValueProperty_: iottwinmaker.CfnComponentType.DataValueProperty;
declare const relationshipValue: any;
const dataValueProperty: iottwinmaker.CfnComponentType.DataValueProperty = {
  booleanValue: false,
  doubleValue: 123,
  expression: 'expression',
  integerValue: 123,
  listValue: [dataValueProperty_],
  longValue: 123,
  mapValue: {
    mapValueKey: dataValueProperty_,
  },
  relationshipValue: relationshipValue,
  stringValue: 'stringValue',
};

Properties ​

booleanValueboolean | IResolvableboolean_valuetyping.Union[bool, IResolvable]booleanValueBooleanBooleanValueboolBooleanValueinterface{}#
A boolean value.
doubleValuenumberdouble_valueint | floatdoubleValueNumberDoubleValuedoubleDoubleValue*float64#
A double value.
expressionstringexpressionstrexpressionStringExpressionstringExpression*string#
An expression that produces the value.
integerValuenumberinteger_valueint | floatintegerValueNumberIntegerValuedoubleIntegerValue*float64#
An integer value.
listValueIResolvable | IResolvable | CfnComponentType.DataValueProperty[]list_valuetyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataValueProperty]]]listValueIResolvableListValueIResolvableListValueinterface{}#
A list of multiple values.
longValuenumberlong_valueint | floatlongValueNumberLongValuedoubleLongValue*float64#
A long value.
mapValueIResolvable | { [key: string]: IResolvable | CfnComponentType.DataValueProperty }map_valuetyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, DataValueProperty]]]mapValueIResolvableMapValueIResolvableMapValueinterface{}#
An object that maps strings to multiple `DataValue` objects.
relationshipValueanyrelationship_valueAnyrelationshipValueObjectRelationshipValueobjectRelationshipValueinterface{}#
A value that relates a component to another component.
stringValuestringstring_valuestrstringValueStringStringValuestringStringValue*string#
A string value.