interface RelationshipProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTTwinMaker.CfnComponentTypePropsMixin.RelationshipProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiottwinmaker#CfnComponentTypePropsMixin_RelationshipProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iottwinmaker.CfnComponentTypePropsMixin.RelationshipProperty |
Python | aws_cdk.cfn_property_mixins.aws_iottwinmaker.CfnComponentTypePropsMixin.RelationshipProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iottwinmaker » CfnComponentTypePropsMixin » RelationshipProperty |
An object that specifies a relationship with another component type.
Example
// 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/cfn-property-mixins';
const relationshipProperty: iottwinmaker.CfnComponentTypePropsMixin.RelationshipProperty = {
relationshipType: 'relationshipType',
targetComponentTypeId: 'targetComponentTypeId',
};
Properties
| Name | Type | Description |
|---|---|---|
| relationship | string | The type of the relationship. |
| target | string | The ID of the target component type associated with this relationship. |
relationshipType?
Type:
string
(optional)
The type of the relationship.
targetComponentTypeId?
Type:
string
(optional)
The ID of the target component type associated with this relationship.

.NET
Go
Java
Python
TypeScript