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

# POST /putResourcePolicy

`POST /putResourcePolicy`

Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-manager-cross-account-cross-region.html">Cross-Region and cross-account incident management</a>.

## Request body

- object
  - `policy` string, required — Details of the resource policy.
  - `resourceArn` string, required — The Amazon Resource Name (ARN) of the response plan to add the resource policy to.

## Response `200`

Success

- PutResourcePolicyOutput
  - `policyId` string, required — The ID of the resource policy.

## Other responses

- `480` — ThrottlingException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException

---

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