aws-cdk-lib.aws_iottwinmaker.CfnEntity.DataValueProperty

interface DataValueProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTTwinMaker.CfnEntity.DataValueProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiottwinmaker#CfnEntity_DataValueProperty
Javasoftware.amazon.awscdk.services.iottwinmaker.CfnEntity.DataValueProperty
Pythonaws_cdk.aws_iottwinmaker.CfnEntity.DataValueProperty
TypeScript aws-cdk-lib » aws_iottwinmaker » CfnEntity » DataValueProperty

An object that specifies a value for a property.

Example

// 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.CfnEntity.DataValueProperty;
declare const relationshipValue: any;
const dataValueProperty: iottwinmaker.CfnEntity.DataValueProperty = {
  booleanValue: false,
  doubleValue: 123,
  expression: 'expression',
  integerValue: 123,
  listValue: [{
    booleanValue: false,
    doubleValue: 123,
    expression: 'expression',
    integerValue: 123,
    listValue: [dataValueProperty_],
    longValue: 123,
    mapValue: {
      mapValueKey: dataValueProperty_,
    },
    relationshipValue: relationshipValue,
    stringValue: 'stringValue',
  }],
  longValue: 123,
  mapValue: {
    mapValueKey: {
      booleanValue: false,
      doubleValue: 123,
      expression: 'expression',
      integerValue: 123,
      listValue: [dataValueProperty_],
      longValue: 123,
      mapValue: {
        mapValueKey: dataValueProperty_,
      },
      relationshipValue: relationshipValue,
      stringValue: 'stringValue',
    },
  },
  relationshipValue: relationshipValue,
  stringValue: 'stringValue',
};

Properties

NameTypeDescription
booleanValue?boolean | IResolvableA boolean value.
doubleValue?numberA double value.
expression?stringAn expression that produces the value.
integerValue?numberAn integer value.
listValue?IResolvable | IResolvable | DataValueProperty[]A list of multiple values.
longValue?numberA long value.
mapValue?IResolvable | { [string]: IResolvable | DataValueProperty }An object that maps strings to multiple DataValue objects.
relationshipValue?anyA value that relates a component to another component.
stringValue?stringA string value.

booleanValue?

Type: boolean | IResolvable (optional)

A boolean value.


doubleValue?

Type: number (optional)

A double value.


expression?

Type: string (optional)

An expression that produces the value.


integerValue?

Type: number (optional)

An integer value.


listValue?

Type: IResolvable | IResolvable | DataValueProperty[] (optional)

A list of multiple values.


longValue?

Type: number (optional)

A long value.


mapValue?

Type: IResolvable | { [string]: IResolvable | DataValueProperty } (optional)

An object that maps strings to multiple DataValue objects.


relationshipValue?

Type: any (optional)

A value that relates a component to another component.


stringValue?

Type: string (optional)

A string value.