Interface CfnAsset.IAssetHierarchyProperty
Describes an asset hierarchy that contains a hierarchy's name and ID.
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAssetHierarchyProperty
Syntax (vb)
Public Interface IAssetHierarchyProperty
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.IoTSiteWise;
var assetHierarchyProperty = new AssetHierarchyProperty {
ChildAssetId = "childAssetId",
// the properties below are optional
ExternalId = "externalId",
Id = "id",
LogicalId = "logicalId"
};
Synopsis
Properties
ChildAssetId | The Id of the child asset. |
ExternalId | The external ID of the hierarchy, if it has one. |
Id | The ID of the hierarchy. This ID is a |
LogicalId | The ID of the hierarchy. |
Properties
ChildAssetId
The Id of the child asset.
string ChildAssetId { get; }
Property Value
System.String
Remarks
ExternalId
The external ID of the hierarchy, if it has one.
virtual string ExternalId { get; }
Property Value
System.String
Remarks
When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the AWS IoT SiteWise User Guide .
Id
The ID of the hierarchy. This ID is a hierarchyId
.
virtual string Id { get; }
Property Value
System.String
Remarks
This is a return value and can't be set.
LogicalId
The ID of the hierarchy.
virtual string LogicalId { get; }
Property Value
System.String