Interface CfnComponentType.IDataTypeProperty
An object that specifies the data type of a property.
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.AWS.IoTTwinMaker.dll
Syntax (csharp)
public interface IDataTypeProperty
Syntax (vb)
Public Interface 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 = 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"
},
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.
virtual object AllowedValues { get; }
Property Value
System.Object
Remarks
NestedType
The nested type in the data type.
virtual object NestedType { get; }
Property Value
System.Object
Remarks
Relationship
A relationship that associates a component with another component.
virtual object Relationship { get; }
Property Value
System.Object
Remarks
Type
The underlying type of the data type.
string Type { get; }
Property Value
System.String
Remarks
Valid Values: RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP
UnitOfMeasure
The unit of measure used in this data type.
virtual string UnitOfMeasure { get; }
Property Value
System.String