CmdID / aws / aws securityhub
aws securityhub delete-action-target
Deletes a custom action target from Security Hub CSPM. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a custom action
The following delete-action-target example deletes the custom action identified by the specified ARN.
aws securityhub delete-action-target --action-target-arn "arn:aws:securityhub:us-west-2:123456789012:action/custom/Remediation"Identify--action-target-arnThe Amazon Resource Name (ARN) of the custom action target to delete.Its output
{
"ActionTargetArn": "arn:aws:securityhub:us-west-2:123456789012:action/custom/Remediation"
}For more information, see Creating a custom action and associating it with a CloudWatch Events rule in the AWS Security Hub User Guide.
Options
--action-target-arnThe Amazon Resource Name (ARN) of the custom action target to delete.