ComponentTypeReference Struct
A reference to a ComponentType resource.
| Source | |
|---|---|
| Type last changed |
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 interfaces_iottwinmaker } from 'aws-cdk-lib/interfaces';
const componentTypeReference: interfaces_iottwinmaker.ComponentTypeReference = {
componentTypeArn: 'componentTypeArn',
componentTypeId: 'componentTypeId',
workspaceId: 'workspaceId',
};
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
// 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();
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"
};
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
componentTypeArnstringcomponent_type_arnstrcomponentTypeArnStringComponentTypeArnstringComponentTypeArn*string required #The ARN of the ComponentType resource.
componentTypeIdstringcomponent_type_idstrcomponentTypeIdStringComponentTypeIdstringComponentTypeId*string required #The ComponentTypeId of the ComponentType resource.
The WorkspaceId of the ComponentType resource.