aws iot update-security-profile

Updates a Device Defender security profile

Options

NameDescription
--security-profile-name <string>The name of the security profile you want to update
--security-profile-description <string>A description of the security profile
--behaviors <list>Specifies the behaviors that, when violated by a device (thing), cause an alert
--alert-targets <map>Where the alerts are sent. (Alerts are always sent to the console.)
--additional-metrics-to-retain <list>Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead. A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. Can be used with custom metrics; cannot be used with dimensions
--additional-metrics-to-retain-v2 <list>A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. Can be used with custom metrics; cannot be used with dimensions
--delete-behaviorsIf true, delete all behaviors defined for this security profile. If any behaviors are defined in the current invocation, an exception occurs
--no-delete-behaviorsIf true, delete all behaviors defined for this security profile. If any behaviors are defined in the current invocation, an exception occurs
--delete-alert-targetsIf true, delete all alertTargets defined for this security profile. If any alertTargets are defined in the current invocation, an exception occurs
--no-delete-alert-targetsIf true, delete all alertTargets defined for this security profile. If any alertTargets are defined in the current invocation, an exception occurs
--delete-additional-metrics-to-retainIf true, delete all additionalMetricsToRetain defined for this security profile. If any additionalMetricsToRetain are defined in the current invocation, an exception occurs
--no-delete-additional-metrics-to-retainIf true, delete all additionalMetricsToRetain defined for this security profile. If any additionalMetricsToRetain are defined in the current invocation, an exception occurs
--expected-version <long>The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command