CmdID

CmdID / aws / aws iot

aws iot update-security-profile

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

12 options Its page in the AWS CLI reference

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

Options

12 in the AWS CLI reference
--additional-metrics-to-retain-v2A list of metrics whose data is retained (stored).
--additional-metrics-to-retainPlease use UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
--alert-targetsWhere the alerts are sent.
--behaviorsSpecifies the behaviors that, when violated by a device (thing), cause an alert.
--delete-additional-metrics-to-retainIf true, delete all additionalMetricsToRetain defined for this security profile.
--delete-alert-targetsIf true, delete all alertTargets defined for this security profile.
--delete-behaviorsIf true, delete all behaviors defined for this security profile.
--delete-metrics-export-configSet the value as true to delete metrics export related configurations.
--expected-versionThe expected version of the security profile.
--metrics-export-configSpecifies the MQTT topic and role ARN required for metric export.
--security-profile-descriptionA description of the security profile.
--security-profile-nameThe name of the security profile you want to update.