Class CfnEntity.ComponentProperty
The entity component.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.AWS.IoTTwinMaker.dll
Syntax (csharp)
public class ComponentProperty : Object, CfnEntity.IComponentProperty
Syntax (vb)
Public Class ComponentProperty
Inherits Object
Implements CfnEntity.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
Constructors
ComponentProperty() |
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. |
Constructors
ComponentProperty()
public ComponentProperty()
Properties
ComponentName
The name of the component.
public string ComponentName { get; set; }
Property Value
System.String
Remarks
ComponentTypeId
The ID of the ComponentType.
public string ComponentTypeId { get; set; }
Property Value
System.String
Remarks
DefinedIn
The name of the property definition set in the request.
public string DefinedIn { get; set; }
Property Value
System.String
Remarks
Description
The description of the component.
public string Description { get; set; }
Property Value
System.String
Remarks
Properties
An object that maps strings to the properties to set in the component type.
public object Properties { get; set; }
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.
public object PropertyGroups { get; set; }
Property Value
System.Object
Remarks
Each string in the mapping must be unique to this object.
Status
The status of the component.
public object Status { get; set; }
Property Value
System.Object