AWS::IoTTwinMaker::EntityUse the `AWS::IoTTwinMaker::Entity` resource to declare an entity.
import { CfnEntity } from 'aws-cdk-lib/aws-iottwinmaker';Or use the module namespace:
import * as iottwinmaker from 'aws-cdk-lib/aws-iottwinmaker';
// iottwinmaker.CfnEntityConfiguration passed to the constructor as CfnEntityProps.
entityNameRequiredstringThe entity name.
workspaceIdRequiredstringThe ID of the workspace that contains the entity.
componentsOptionalIResolvable | { [key: string]: IResolvable | ComponentProperty }An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object. For information on the component object see the [component](https://docs.aws.amazon.com//iot-twinmaker/latest/apireference/API_ComponentResponse.html) API reference.
compositeComponentsOptionalIResolvable | { [key: string]: IResolvable | CompositeComponentProperty }Maps string to `compositeComponent` updates in the request. Each key of the map represents the `componentPath` of the `compositeComponent` .
descriptionOptionalstringThe description of the entity.
entityIdOptionalstringThe ID of the entity.
parentEntityIdOptionalstringThe ID of the parent entity.
tagsOptional{ [key: string]: string }Metadata that you can use to manage the entity.
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::Entity