interface DataTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTTwinMaker.CfnEntity.DataTypeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiottwinmaker#CfnEntity_DataTypeProperty |
![]() | software.amazon.awscdk.services.iottwinmaker.CfnEntity.DataTypeProperty |
![]() | aws_cdk.aws_iottwinmaker.CfnEntity.DataTypeProperty |
![]() | 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: dataTypeProperty_,
relationship: {
relationshipType: 'relationshipType',
targetComponentTypeId: 'targetComponentTypeId',
},
type: 'type',
unitOfMeasure: 'unitOfMeasure',
};
Properties
Name | Type | Description |
---|---|---|
allowed | IResolvable | IResolvable | Data [] | The allowed values. |
nested | IResolvable | Data | The nested type. |
relationship? | IResolvable | Relationship | The relationship. |
type? | string | The entity type. |
unit | string | The unit of measure. |
allowedValues?
Type:
IResolvable
|
IResolvable
|
Data
[]
(optional)
The allowed values.
nestedType?
Type:
IResolvable
|
Data
(optional)
The nested type.
relationship?
Type:
IResolvable
|
Relationship
(optional)
The relationship.
type?
Type:
string
(optional)
The entity type.
unitOfMeasure?
Type:
string
(optional)
The unit of measure.