CmdID

CmdID / aws / aws iot

aws iot create-dimension

The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a dimension

The following create-dimension example creates a dimension with a single topic filter called TopicFilterForAuthMessages.

aws iot create-dimension --name TopicFilterForAuthMessages --type TOPIC_FILTER --string-values device/+/authIdentify
--nameA unique identifier for the dimension.
--typeSpecifies the type of dimension.
--string-valuesSpecifies the value or list of values for the dimension.
Its output
{
    "name": "TopicFilterForAuthMessages",
    "arn": "arn:aws:iot:us-west-2:123456789012:dimension/TopicFilterForAuthMessages"
}

For more information, see Detect Commands in the AWS IoT Developer Guide.

Options

5 in the AWS CLI reference
--client-request-tokenEach dimension must have a unique client request token.
--nameA unique identifier for the dimension.
--string-valuesSpecifies the value or list of values for the dimension.
--tagsMetadata that can be used to manage the dimension.
--typeSpecifies the type of dimension.