---
title: "POST /v2/update-policy"
method: POST
path: "/v2/update-policy"
---

# POST /v2/update-policy

`POST /v2/update-policy`

Updates an existing resilience policy.

## Request body

- object
  - `policyArn` string, required — ARN identifier.
  - `description` string — Resource description for services and policies.
  - `availabilitySlo` object — Defines the availability service level objective (SLO) for a resilience policy.
    - `target` number, double — The target availability percentage, expressed as a value between 0 and 100.
  - `multiAz` object — Defines the multi-AZ disaster recovery targets for a resilience policy.
    - `rtoInMinutes` integer — The recovery time objective (RTO) target for multi-AZ, in minutes.
    - `rpoInMinutes` integer — The recovery point objective (RPO) target for multi-AZ, in minutes.
    - `disasterRecoveryApproach` 'ACTIVE_ACTIVE' | 'HOT_STANDBY' | 'WARM_STANDBY' | 'PILOT_LIGHT' | 'BACKUP_AND_RESTORE' — The disaster recovery approach for multi-AZ.
  - `multiRegion` object — Defines the multi-Region disaster recovery targets for a resilience policy.
    - `rtoInMinutes` integer — The recovery time objective (RTO) target for multi-Region, in minutes.
    - `rpoInMinutes` integer — The recovery point objective (RPO) target for multi-Region, in minutes.
    - `disasterRecoveryApproach` 'ACTIVE_ACTIVE' | 'HOT_STANDBY' | 'WARM_STANDBY' | 'PILOT_LIGHT' | 'BACKUP_AND_RESTORE' — The disaster recovery approach for multi-Region.
  - `dataRecovery` object — Defines data recovery targets for a resilience policy.
    - `timeBetweenBackupsInMinutes` integer — The target time between backups, in minutes.

## Response `200`

Success

- UpdatePolicyResponse
  - `policy` object, required — The updated policy.
    - `policyArn` string, required — ARN identifier.
    - `name` string, required — Resource name (used in ARN — no spaces allowed).
    - `description` string — Resource description for services and policies.
    - `availabilitySlo` object — The availability SLO defined in the policy.
      - `target` number, double — The target availability percentage, expressed as a value between 0 and 100.
    - `multiAz` object — The multi-AZ disaster recovery targets defined in the policy.
      - `rtoInMinutes` integer — The recovery time objective (RTO) target for multi-AZ, in minutes.
      - `rpoInMinutes` integer — The recovery point objective (RPO) target for multi-AZ, in minutes.
      - `disasterRecoveryApproach` 'ACTIVE_ACTIVE' | 'HOT_STANDBY' | 'WARM_STANDBY' | 'PILOT_LIGHT' | 'BACKUP_AND_RESTORE' — The disaster recovery approach for multi-AZ.
    - `multiRegion` object — The multi-Region disaster recovery targets defined in the policy.
      - `rtoInMinutes` integer — The recovery time objective (RTO) target for multi-Region, in minutes.
      - `rpoInMinutes` integer — The recovery point objective (RPO) target for multi-Region, in minutes.
      - `disasterRecoveryApproach` 'ACTIVE_ACTIVE' | 'HOT_STANDBY' | 'WARM_STANDBY' | 'PILOT_LIGHT' | 'BACKUP_AND_RESTORE' — The disaster recovery approach for multi-Region.
    - `dataRecovery` object — The data recovery targets defined in the policy.
      - `timeBetweenBackupsInMinutes` integer — The target time between backups, in minutes.
    - `kmsKeyId` string — KMS key identifier — accepts key ID, key ARN, alias name, or alias ARN.
    - `tags` TagMap — Resource tags.
    - `associatedServiceCount` integer — The number of services associated with this policy.
    - `createdAt` string, date-time — The timestamp when the policy was created.
    - `updatedAt` string, date-time — The timestamp when the policy was last updated.

## Other responses

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

---

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