deleteActionTarget

Deletes a custom action target from Security Hub.

Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.

Samples


fun main() { 
   //sampleStart 
   // The following example deletes a custom action target that triggers target actions in Amazon
// CloudWatch Events. Deleting a custom action target doesn t affect findings or insights that were already sent
// to CloudWatch Events based on the custom action.
val resp = securityHubClient.deleteActionTarget {
    actionTargetArn = "arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation"
} 
   //sampleEnd
}