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.
A double value.
An expression that produces the value.
An integer value.
listValueIResolvable | IResolvable | CfnComponentType.DataValueProperty[]list_valuetyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataValueProperty]]]listValueIResolvableListValueIResolvableListValueinterface{}#A list of multiple values.
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.
A string value.