
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@iot-app-kit/tools-iottwinmaker
Advanced tools
This package contains functionality for the AWS IoT TwinMaker Development Tools (TMDT), a set of tools to aid in [IoT TwinMaker](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/what-is-twinmaker.html) project management.
This package contains functionality for the AWS IoT TwinMaker Development Tools (TMDT), a set of tools to aid in IoT TwinMaker project management.
You can follow AWS IoT TwinMaker Getting Started to setup a sample TwinMaker workspace.
TMDT has 3 core commands:
(See below for a more detailed description of the commands)
First verify that you have permissions to globally install node packages and run the following to use TMDT globally:
npm i -g @iot-app-kit/tools-iottwinmaker@alpha
You should now be able to run the following from anywhere on your machine:
tmdt -h
First clone the latest tip of this tool:
git clone https://github.com/awslabs/iot-app-kit.git --depth 1 && cd iot-app-kit
Install any node dependencies and navigate to the tools-iottwinmaker
directory:
npm install && cd packages/tools-iottwinmaker
Build the package:
npm run build
This will build a node executable named tmdt_local
on your machine. Run the following from the tmdt directory to verify if it was installed correctly.
./tmdt_local -h
If this command ran successfully without error, tmdt
properly installed locally. You can now ./tmdt_local [command] [parameters]
to run any of the 3 commands below.
Use this command to bootstrap a TMDT project from an existing workspace.
The following will initialize a tmdt project at the specified directory with a tmdt.json
file
tmdt init --region [REGION] --workspace-id [WORKSPACE_ID] --out [PROJECT_DIRECTORY]
For example:
tmdt init --region us-east-1 --workspace-id YourWorkspace --out /tmp/YourWorkspaceTMDT
The following will deploy a tmdt project at the specified directory (the directory must contain a tmdt.json
file) into the specified workspace.
tmdt deploy --region [REGION] --workspace-id [DESTINATION_WORKSPACE_ID] --dir [PROJECT_DIRECTORY]
For example:
tmdt deploy --region us-east-1 --workspace-id YourSecondWorkspace --dir /tmp/YourWorkspaceTMDT
Note: --workspace-id can either be an existing TwinMaker workspace, or you may enter a new ID for TMDT to automatically create your workspace (you will be prompted for confirmation). Take notice that the s3 bucket, IAM role, and dashboard role and policy is the default TwinMaker configurations generated as in the console. You may need to edit the created role/policy based on your specific use cases.
TMDT destroy is a destructive command hence it is a "Dry Run" by default command, meaning that all resources displayed during execution are not deleted, unless explicitly provided the "--nonDryRun" flag.
Example 1:
The following will dry run display deletetion of all entities, component types, and scenes from a workspace. By default (no optional flags below selected), this will not actually delete any resources displayed, and it will not display workspace s3 bucket content deletion or the TwinMaker workspace itself.
tmdt destroy --region us-east-1 --workspace-id YourSecondWorkspace
Example 2:
The following will delete all entities, component types, scenes, workspace s3 bucket, and TwinMaker workspace itself.
Warning: This command is destructive. Please take caution before running this command.
tmdt destroy --region us-east-1 --workspace-id YourSecondWorkspace --delete-workspace --delete-s3-bucket --nonDryRun
Additional notes:
To uninstall the TMDT package globally, run:
npm uninstall -g tmdt
FAQs
This package contains functionality for the AWS IoT TwinMaker Development Tools (TMDT), a set of tools to aid in [IoT TwinMaker](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/what-is-twinmaker.html) project management.
We found that @iot-app-kit/tools-iottwinmaker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.