

# Editing a scaling policy
<a name="AutoScaling-Editing-Policy"></a>

You can edit a scaling policy using the Amazon Web Services Management Console, the Amazon CLI, or the Application Auto Scaling API. 

**Editing a scaling policy using the Amazon Web Services Management Console**

You can only edit policies with type Predefined metrics by using the Amazon Web Services Management Console

1. Sign in to the Amazon Web Services Management Console and open the Amazon ElastiCache console at [https://console.amazonaws.cn/elasticache/](https://console.amazonaws.cn/elasticache/).

1. In the navigation pane, choose **Valkey** or **Redis OSS**

1. Choose the cluster that you want to add a policy to (choose the cluster name and not the button to its left). 

1. Choose the **Auto Scaling policies** tab. 

1. Under **Scaling policies**, choose the button to the left of the Auto Scaling policy you wish to change, and then choose **Modify**. 

1. Make the requisite changes to the policy.

1. Choose **Modify**.

1. Make changes to the policy. 

1. Choose **Modify**.

**Editing a scaling policy using the Amazon CLI or the Application Auto Scaling API **

You can use the Amazon CLI or the Application Auto Scaling API to edit a scaling policy in the same way that you apply a scaling policy: 
+ When using the Application Auto Scaling API, specify the name of the policy you want to edit in the `PolicyName` parameter. Specify new values for the parameters you want to change. 

For more information, see [Applying a scaling policy to an ElastiCache for Valkey and Redis OSS cluster](AutoScaling-Defining-Policy.md#AutoScaling-Applying-Policy).