CmdID

CmdID / aws / aws iot

aws iot list-security-profiles

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

1 example 4 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 list the security profiles for your AWS account

The following list-security-profiles example lists all AWS IoT Device Defender security profiles that are defined in your AWS account.

aws iot list-security-profilesIdentify
Its output
{
    "securityProfileIdentifiers": [
        {
            "name": "Testprofile",
            "arn": "arn:aws:iot:us-west-2:123456789012:securityprofile/Testprofile"
        }
    ]
}

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

Options

4 in the AWS CLI reference
--dimension-nameA filter to limit results to the security profiles that use the defined dimension.
--max-resultsThe maximum number of results to return at one time.
--metric-nameThe name of the custom metric.
--next-tokenThe token for the next set of results.