interface DataValueProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTTwinMaker.CfnEntity.DataValueProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiottwinmaker#CfnEntity_DataValueProperty |
![]() | software.amazon.awscdk.services.iottwinmaker.CfnEntity.DataValueProperty |
![]() | aws_cdk.aws_iottwinmaker.CfnEntity.DataValueProperty |
![]() | 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: [dataValueProperty_],
longValue: 123,
mapValue: {
mapValueKey: dataValueProperty_,
},
relationshipValue: relationshipValue,
stringValue: 'stringValue',
};
Properties
Name | Type | Description |
---|---|---|
boolean | boolean | IResolvable | A boolean value. |
double | number | A double value. |
expression? | string | An expression that produces the value. |
integer | number | An integer value. |
list | IResolvable | IResolvable | Data [] | A list of multiple values. |
long | number | A long value. |
map | IResolvable | { [string]: IResolvable | Data } | An object that maps strings to multiple DataValue objects. |
relationship | any | A value that relates a component to another component. |
string | string | A 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
|
Data
[]
(optional)
A list of multiple values.
longValue?
Type:
number
(optional)
A long value.
mapValue?
Type:
IResolvable
| { [string]:
IResolvable
|
Data
}
(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.