Create a fleet (AWS CLI) - AWS IoT FleetWise

Create a fleet (AWS CLI)

AWS IoT FleetWise is in preview release and is subject to change. We recommend that you use the service only with test data, and not in production environments.

While AWS IoT FleetWise is in preview, you must download the preview AWS SDK and AWS CLI to use the API operations for this service. These API operations aren't available in the public AWS SDK or AWS CLI. For more information, see Preview AWS CLI and AWS SDKs.

You can use the CreateFleet API operation to create a vehicle fleet. The following example uses AWS CLI.

Important

You must have a signal catalog before you can create a fleet. For more information, see Create a signal catalog (AWS CLI).

To create a fleet, run the following command.

  • Replace fleet-id with the ID of the fleet that you're creating.

    The fleet ID must be unique and have 1-100 characters. Valid characters: letters (A-Z and a-z), numbers (0-9), colons (:), dashes (-), and underscores (_).

  • (Optional) Replace description with a description.

    The description can have 1-2048 characters.

  • Replace signal-catalog-ARN with the ARN of the signal catalog.

aws iotfleetwise create-fleet / --fleet-Id fleet-ID / --description description / --signalCatalogArn signal-catalog-ARN