Update an AWS IoT FleetWise state template - AWS IoT FleetWise

AWS IoT FleetWise will no longer be open to new customers as of April 30, 2026. Existing AWS IoT FleetWise customers can continue using the service. The Guidance for Connected Mobility on AWS provides guidance on how to develop and deploy modular services for connected mobility solutions that can be used to achieve equivalent capabilities as AWS IoT FleetWise.

Update an AWS IoT FleetWise state template

Important

Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in AWS IoT FleetWise.

You can use the UpdateStateTemplate API operation or AWS IoT FleetWise console to update an existing state template.

To update a state template from the console, go to the State templates page of the AWS IoT FleetWise console and perform the following steps.

  1. Choose the state template that you want to update, and then choose Edit.

  2. Edit the state template details, and then choose Save changes.

To update a state template, run the following command.

Replace update-state-template with the name of the .json file that contains the configuration of the state template.

aws iotfleetwise update-state-template \ --cli-input-json file://update-state-template.json
Example state template configuration

The stateTemplateProperties should contain the fully qualified names of the signals.

The dataExtraDimensions and metadataExtraDimensions should contain the fully qualified names of the vehicle attributes.

{ "identifier": "state-template-name", "stateTemplatePropertiesToAdd": [ "Vehicle.Signal.Three" ], "stateTemplatePropertiesToRemove": [ "Vehicle.Signal.One" ], "dataExtraDimensions": [ "Vehicle.Attribute.One", "Vehicle.Attribute.Two" ], "metadataExtraDimensions": [ "Vehicle.Attribute.Three", "Vehicle.Attribute.Four" ] }