# RelationshipProperty

An object that specifies a relationship with another component type.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `relationshipType`: string — The type of the relationship.

- `targetComponentTypeId`: string — The ID of the target component type associated with this relationship.
