---
title: "POST /actionTargets"
method: POST
path: "/actionTargets"
---

# POST /actionTargets

`POST /actionTargets`

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.

## Request body

- object
  - `Name` string, required — The name of the custom action target. Can contain up to 20 characters.
  - `Description` string, required — The description for the custom action target.
  - `Id` string, required — The ID for the custom action target. Can contain up to 20 alphanumeric characters.

## Response `200`

Success

- CreateActionTargetResponse
  - `ActionTargetArn` string, required — The Amazon Resource Name (ARN) for the custom action target.

## Other responses

- `480` — InternalException
- `481` — InvalidInputException
- `482` — InvalidAccessException
- `483` — LimitExceededException
- `484` — ResourceConflictException

---

[API](https://skmtc.net/aws/apis/securityhub.md) · [All operations](https://skmtc.net/aws/apis/securityhub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityhub/versions/72336a39f336/schema)
