aws-cdk-lib.aws_iottwinmaker.CfnEntity.DataTypeProperty

interface DataTypeProperty

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

The entity data type.

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 dataTypeProperty_: iottwinmaker.CfnEntity.DataTypeProperty;
declare const dataValueProperty_: iottwinmaker.CfnEntity.DataValueProperty;
declare const relationshipValue: any;
const dataTypeProperty: iottwinmaker.CfnEntity.DataTypeProperty = {
  allowedValues: [{
    booleanValue: false,
    doubleValue: 123,
    expression: 'expression',
    integerValue: 123,
    listValue: [dataValueProperty_],
    longValue: 123,
    mapValue: {
      mapValueKey: dataValueProperty_,
    },
    relationshipValue: relationshipValue,
    stringValue: 'stringValue',
  }],
  nestedType: {
    allowedValues: [{
      booleanValue: false,
      doubleValue: 123,
      expression: 'expression',
      integerValue: 123,
      listValue: [dataValueProperty_],
      longValue: 123,
      mapValue: {
        mapValueKey: dataValueProperty_,
      },
      relationshipValue: relationshipValue,
      stringValue: 'stringValue',
    }],
    nestedType: dataTypeProperty_,
    relationship: {
      relationshipType: 'relationshipType',
      targetComponentTypeId: 'targetComponentTypeId',
    },
    type: 'type',
    unitOfMeasure: 'unitOfMeasure',
  },
  relationship: {
    relationshipType: 'relationshipType',
    targetComponentTypeId: 'targetComponentTypeId',
  },
  type: 'type',
  unitOfMeasure: 'unitOfMeasure',
};

Properties

NameTypeDescription
allowedValues?IResolvable | IResolvable | DataValueProperty[]The allowed values.
nestedType?IResolvable | DataTypePropertyThe nested type.
relationship?IResolvable | RelationshipPropertyThe relationship.
type?stringThe entity type.
unitOfMeasure?stringThe unit of measure.

allowedValues?

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

The allowed values.


nestedType?

Type: IResolvable | DataTypeProperty (optional)

The nested type.


relationship?

Type: IResolvable | RelationshipProperty (optional)

The relationship.


type?

Type: string (optional)

The entity type.


unitOfMeasure?

Type: string (optional)

The unit of measure.