Interface CfnComponentType.IDataTypeProperty
An object that specifies the data type of a property.
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnComponentType.IDataTypeProperty
Syntax (vb)
Public Interface CfnComponentType.IDataTypeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTTwinMaker;
DataTypeProperty dataTypeProperty_;
DataValueProperty dataValueProperty_;
var relationshipValue;
var dataTypeProperty = new DataTypeProperty {
Type = "type",
// the properties below are optional
AllowedValues = new [] { new DataValueProperty {
BooleanValue = false,
DoubleValue = 123,
Expression = "expression",
IntegerValue = 123,
ListValue = new [] { dataValueProperty_ },
LongValue = 123,
MapValue = new Dictionary<string, object> {
{ "mapValueKey", dataValueProperty_ }
},
RelationshipValue = relationshipValue,
StringValue = "stringValue"
} },
NestedType = dataTypeProperty_,
Relationship = new RelationshipProperty {
RelationshipType = "relationshipType",
TargetComponentTypeId = "targetComponentTypeId"
},
UnitOfMeasure = "unitOfMeasure"
};
Synopsis
Properties
| AllowedValues | The allowed values for this data type. |
| NestedType | The nested type in the data type. |
| Relationship | A relationship that associates a component with another component. |
| Type | The underlying type of the data type. |
| UnitOfMeasure | The unit of measure used in this data type. |
Properties
AllowedValues
The allowed values for this data type.
object? AllowedValues { get; }
Property Value
Remarks
NestedType
The nested type in the data type.
object? NestedType { get; }
Property Value
Remarks
Relationship
A relationship that associates a component with another component.
object? Relationship { get; }
Property Value
Remarks
Type
The underlying type of the data type.
string Type { get; }
Property Value
Remarks
Valid Values: RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP
UnitOfMeasure
The unit of measure used in this data type.
string? UnitOfMeasure { get; }