# DataValueProperty

An object that specifies a value for a property.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `booleanValue`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A boolean value.

- `doubleValue`: number — A double value.

- `expression`: string — An expression that produces the value.

- `integerValue`: number — An integer value.

- `listValue`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnComponentType.DataValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iottwinmaker.CfnComponentType.DataValueProperty.html)[] — A list of multiple values.

- `longValue`: number — A long value.

- `mapValue`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnComponentType.DataValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iottwinmaker.CfnComponentType.DataValueProperty.html) } — An object that maps strings to multiple `DataValue` objects.

- `relationshipValue`: any — A value that relates a component to another component.

- `stringValue`: string — A string value.
