interface EnforcedAssetModelInterfaceRelationshipProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_EnforcedAssetModelInterfaceRelationshipProperty |
Java | software.amazon.awscdk.services.iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty |
Python | aws_cdk.aws_iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty |
TypeScript | aws-cdk-lib » aws_iotsitewise » CfnAssetModel » EnforcedAssetModelInterfaceRelationshipProperty |
Contains information about applied interface hierarchy and asset model hierarchy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const enforcedAssetModelInterfaceRelationshipProperty: iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty = {
interfaceAssetModelId: 'interfaceAssetModelId',
propertyMappings: [{
interfaceAssetModelPropertyExternalId: 'interfaceAssetModelPropertyExternalId',
// the properties below are optional
assetModelPropertyExternalId: 'assetModelPropertyExternalId',
assetModelPropertyLogicalId: 'assetModelPropertyLogicalId',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| interface | string | The ID of the asset model that has the interface applied to it. |
| property | IResolvable | (IResolvable | Enforced)[] | A list of property mappings between the interface asset model and the asset model where the interface is applied. |
interfaceAssetModelId?
Type:
string
(optional)
The ID of the asset model that has the interface applied to it.
propertyMappings?
Type:
IResolvable | (IResolvable | Enforced)[]
(optional)
A list of property mappings between the interface asset model and the asset model where the interface is applied.

.NET
Go
Java
Python
TypeScript