# ComponentTypeReference

A reference to a ComponentType resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as interfaces_iottwinmaker } from 'aws-cdk-lib/interfaces';
const componentTypeReference: interfaces_iottwinmaker.ComponentTypeReference = {
  componentTypeArn: 'componentTypeArn',
  componentTypeId: 'componentTypeId',
  workspaceId: 'workspaceId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iottwinmaker as interfaces_iottwinmaker

component_type_reference = interfaces_iottwinmaker.ComponentTypeReference(
    component_type_arn="componentTypeArn",
    component_type_id="componentTypeId",
    workspace_id="workspaceId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iottwinmaker.*;

ComponentTypeReference componentTypeReference = ComponentTypeReference.builder()
        .componentTypeArn("componentTypeArn")
        .componentTypeId("componentTypeId")
        .workspaceId("workspaceId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.IoTTwinMaker;

var componentTypeReference = new ComponentTypeReference {
    ComponentTypeArn = "componentTypeArn",
    ComponentTypeId = "componentTypeId",
    WorkspaceId = "workspaceId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

componentTypeReference := &ComponentTypeReference{
	ComponentTypeArn: jsii.String("componentTypeArn"),
	ComponentTypeId: jsii.String("componentTypeId"),
	WorkspaceId: jsii.String("workspaceId"),
}
```

## Properties

- `componentTypeArn`: string (required) — The ARN of the ComponentType resource.

- `componentTypeId`: string (required) — The ComponentTypeId of the ComponentType resource.

- `workspaceId`: string (required) — The WorkspaceId of the ComponentType resource.
