Class CfnAsset.AssetHierarchyProperty
Describes an asset hierarchy that contains a hierarchy's name and ID.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AssetHierarchyProperty : Object, CfnAsset.IAssetHierarchyProperty
Syntax (vb)
Public Class AssetHierarchyProperty
Inherits Object
Implements CfnAsset.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
Constructors
AssetHierarchyProperty() |
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. |
Constructors
AssetHierarchyProperty()
public AssetHierarchyProperty()
Properties
ChildAssetId
The Id of the child asset.
public string ChildAssetId { get; set; }
Property Value
System.String
Remarks
ExternalId
The external ID of the hierarchy, if it has one.
public string ExternalId { get; set; }
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
.
public string Id { get; set; }
Property Value
System.String
Remarks
This is a return value and can't be set.
LogicalId
The ID of the hierarchy.
public string LogicalId { get; set; }
Property Value
System.String