Class CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty
Contains information about applied interface hierarchy and asset model hierarchy.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty : CfnAssetModel.IEnforcedAssetModelInterfaceRelationshipProperty
Syntax (vb)
Public Class CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty Implements CfnAssetModel.IEnforcedAssetModelInterfaceRelationshipProperty
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 enforcedAssetModelInterfaceRelationshipProperty = new EnforcedAssetModelInterfaceRelationshipProperty {
InterfaceAssetModelId = "interfaceAssetModelId",
PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId",
// the properties below are optional
AssetModelPropertyExternalId = "assetModelPropertyExternalId",
AssetModelPropertyLogicalId = "assetModelPropertyLogicalId"
} }
};
Synopsis
Constructors
| EnforcedAssetModelInterfaceRelationshipProperty() | Contains information about applied interface hierarchy and asset model hierarchy. |
Properties
| InterfaceAssetModelId | The ID of the asset model that has the interface applied to it. |
| PropertyMappings | A list of property mappings between the interface asset model and the asset model where the interface is applied. |
Constructors
EnforcedAssetModelInterfaceRelationshipProperty()
Contains information about applied interface hierarchy and asset model hierarchy.
public EnforcedAssetModelInterfaceRelationshipProperty()
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 enforcedAssetModelInterfaceRelationshipProperty = new EnforcedAssetModelInterfaceRelationshipProperty {
InterfaceAssetModelId = "interfaceAssetModelId",
PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId",
// the properties below are optional
AssetModelPropertyExternalId = "assetModelPropertyExternalId",
AssetModelPropertyLogicalId = "assetModelPropertyLogicalId"
} }
};
Properties
InterfaceAssetModelId
The ID of the asset model that has the interface applied to it.
public string? InterfaceAssetModelId { get; set; }
Property Value
Remarks
PropertyMappings
A list of property mappings between the interface asset model and the asset model where the interface is applied.
public object? PropertyMappings { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnAssetModel.IEnforcedAssetModelInterfacePropertyMappingProperty)[]