updateActionTarget

Updates the name and description of a custom action target in Security Hub.

Samples


fun main() { 
   //sampleStart 
   // The following example updates the name and description of a custom action target in Security Hub.
// You can create custom actions to automatically respond to Security Hub findings using Amazon
// EventBridge.
securityHubClient.updateActionTarget {
    actionTargetArn = "arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation"
    name = "Chat custom action"
    description = "Sends specified findings to customer service chat"
} 
   //sampleEnd
}