v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1461972964.4 KB

Creates a custom action target in Security Hub.

You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.

post/actionTargets

Request body

Namestring required

The name of the custom action target. Can contain up to 20 characters.

Descriptionstring required

The description for the custom action target.

Idstring required

The ID for the custom action target. Can contain up to 20 alphanumeric characters.

Response

Success

ActionTargetArnstring required

The Amazon Resource Name (ARN) for the custom action target.

Example response

{
  "ActionTargetArn": "arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation"
}