Interface CfnEntity.IComponentProperty
The entity component.
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.AWS.IoTTwinMaker.dll
Syntax (csharp)
public interface IComponentProperty
Syntax (vb)
Public Interface IComponentProperty
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;
DataValueProperty dataValueProperty_;
var definition;
var error;
var relationshipValue;
var componentProperty = new ComponentProperty {
ComponentName = "componentName",
ComponentTypeId = "componentTypeId",
DefinedIn = "definedIn",
Description = "description",
Properties = new Dictionary<string, object> {
{ "propertiesKey", new PropertyProperty {
Definition = definition,
Value = 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"
}
} }
},
PropertyGroups = new Dictionary<string, object> {
{ "propertyGroupsKey", new PropertyGroupProperty {
GroupType = "groupType",
PropertyNames = new [] { "propertyNames" }
} }
},
Status = new StatusProperty {
Error = error,
State = "state"
}
};
Synopsis
Properties
ComponentName | The name of the component. |
ComponentTypeId | The ID of the ComponentType. |
DefinedIn | The name of the property definition set in the request. |
Description | The description of the component. |
Properties | An object that maps strings to the properties to set in the component type. |
PropertyGroups | An object that maps strings to the property groups in the component type. |
Status | The status of the component. |
Properties
ComponentName
The name of the component.
virtual string ComponentName { get; }
Property Value
System.String
Remarks
ComponentTypeId
The ID of the ComponentType.
virtual string ComponentTypeId { get; }
Property Value
System.String
Remarks
DefinedIn
The name of the property definition set in the request.
virtual string DefinedIn { get; }
Property Value
System.String
Remarks
Description
The description of the component.
virtual string Description { get; }
Property Value
System.String
Remarks
Properties
An object that maps strings to the properties to set in the component type.
virtual object Properties { get; }
Property Value
System.Object
Remarks
Each string in the mapping must be unique to this object.
PropertyGroups
An object that maps strings to the property groups in the component type.
virtual object PropertyGroups { get; }
Property Value
System.Object
Remarks
Each string in the mapping must be unique to this object.
Status
The status of the component.
virtual object Status { get; }
Property Value
System.Object