Skip to content
v2.275.0

RelationshipProperty Struct ​

An object that specifies a relationship with another component type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';
const relationshipProperty: iottwinmaker.CfnComponentType.RelationshipProperty = {
  relationshipType: 'relationshipType',
  targetComponentTypeId: 'targetComponentTypeId',
};

Properties ​

relationshipTypeoptionalstringrelationship_typeoptionalstrrelationshipTypeoptionalStringRelationshipTypeoptionalstringRelationshipTypeoptional*string#
The type of the relationship.
targetComponentTypeIdoptionalstringtarget_component_type_idoptionalstrtargetComponentTypeIdoptionalStringTargetComponentTypeIdoptionalstringTargetComponentTypeIdoptional*string#
The ID of the target component type associated with this relationship.