Class CfnEntity.DefinitionProperty
The entity definition.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DefinitionProperty : Object, CfnEntity.IDefinitionProperty
Syntax (vb)
Public Class DefinitionProperty
Inherits Object
Implements CfnEntity.IDefinitionProperty
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 definitionProperty = new DefinitionProperty {
Configuration = new Dictionary<string, string> {
{ "configurationKey", "configuration" }
},
DataType = new DataTypeProperty {
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"
},
Type = "type",
UnitOfMeasure = "unitOfMeasure"
},
DefaultValue = 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"
},
IsExternalId = false,
IsFinal = false,
IsImported = false,
IsInherited = false,
IsRequiredInEntity = false,
IsStoredExternally = false,
IsTimeSeries = false
};
Synopsis
Constructors
DefinitionProperty() |
Properties
Configuration | The configuration. |
DataType | The data type. |
DefaultValue | The default value. |
IsExternalId | Displays if the entity has a external Id. |
IsFinal | Displays if the entity is final. |
IsImported | Displays if the entity is imported. |
IsInherited | Displays if the entity is inherited. |
IsRequiredInEntity | Displays if the entity is a required entity. |
IsStoredExternally | Displays if the entity is tored externally. |
IsTimeSeries | Displays if the entity. |
Constructors
DefinitionProperty()
public DefinitionProperty()
Properties
Configuration
The configuration.
public object Configuration { get; set; }
Property Value
System.Object
Remarks
DataType
The data type.
public object DataType { get; set; }
Property Value
System.Object
Remarks
DefaultValue
The default value.
public object DefaultValue { get; set; }
Property Value
System.Object
Remarks
IsExternalId
Displays if the entity has a external Id.
public object IsExternalId { get; set; }
Property Value
System.Object
Remarks
IsFinal
Displays if the entity is final.
public object IsFinal { get; set; }
Property Value
System.Object
Remarks
IsImported
Displays if the entity is imported.
public object IsImported { get; set; }
Property Value
System.Object
Remarks
IsInherited
Displays if the entity is inherited.
public object IsInherited { get; set; }
Property Value
System.Object
Remarks
IsRequiredInEntity
Displays if the entity is a required entity.
public object IsRequiredInEntity { get; set; }
Property Value
System.Object
Remarks
IsStoredExternally
Displays if the entity is tored externally.
public object IsStoredExternally { get; set; }
Property Value
System.Object
Remarks
IsTimeSeries
Displays if the entity.
public object IsTimeSeries { get; set; }
Property Value
System.Object