AWS::IoTTwinMaker::ComponentTypeUse the `AWS::IoTTwinMaker::ComponentType` resource to declare a component type.
import { CfnComponentType } from 'aws-cdk-lib/aws-iottwinmaker';Or use the module namespace:
import * as iottwinmaker from 'aws-cdk-lib/aws-iottwinmaker';
// iottwinmaker.CfnComponentTypeConfiguration passed to the constructor as CfnComponentTypeProps.
componentTypeIdRequiredstringThe ID of the component type.
workspaceIdRequiredstringThe ID of the workspace that contains the component type.
compositeComponentTypesOptionalIResolvable | { [key: string]: IResolvable | CompositeComponentTypeProperty }Maps strings to `compositeComponentTypes` of the `componentType` . `CompositeComponentType` is referenced by `componentTypeId` .
descriptionOptionalstringThe description of the component type.
extendsFromOptionalstring[]The name of the parent component type that this component type extends.
functionsOptionalIResolvable | { [key: string]: IResolvable | FunctionProperty }An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object. For information on the FunctionResponse object see the [FunctionResponse](https://docs.aws.amazon.com//iot-twinmaker/latest/apireference/API_FunctionResponse.html) API reference.
isSingletonOptionalboolean | IResolvableA boolean value that specifies whether an entity can have more than one component of this type.
propertyDefinitionsOptionalIResolvable | { [key: string]: IResolvable | PropertyDefinitionProperty }An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object. For information about the PropertyDefinitionResponse object, see the [PropertyDefinitionResponse](https://docs.aws.amazon.com//iot-twinmaker/latest/apireference/API_PropertyDefinitionResponse.html) API reference.
propertyGroupsOptionalIResolvable | { [key: string]: IResolvable | PropertyGroupProperty }An object that maps strings to the property groups in the component type. Each string in the mapping must be unique to this object.
tagsOptional{ [key: string]: string }The ComponentType tags.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-iottwinmakerAWS::IoTTwinMaker::ComponentType