interface DataValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTTwinMaker.CfnComponentType.DataValueProperty |
Java | software.amazon.awscdk.services.iottwinmaker.CfnComponentType.DataValueProperty |
Python | aws_cdk.aws_iottwinmaker.CfnComponentType.DataValueProperty |
TypeScript | @aws-cdk/aws-iottwinmaker » CfnComponentType » 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 * as iottwinmaker from '@aws-cdk/aws-iottwinmaker';
declare const dataValueProperty_: iottwinmaker.CfnComponentType.DataValueProperty;
declare const relationshipValue: any;
const dataValueProperty: iottwinmaker.CfnComponentType.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
| 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.

.NET
Java
Python
TypeScript