CLI command | remove-autoscaling-policy |
Description | Delete an auto-scaling policy. You will not be allowed to delete auto-scaling polices that are being used by deployed applications. If an autoscaling policy is being used by a deployed application, you will have to first undeploy the application to be able to delete the corresponding auto-scaling policy. |
Command format | remove-autoscaling-policy <AUTOSCALING_POLICY_ID> |
Short option | Long option | Description | Required | Example value |
---|---|---|---|---|
N/A | N/A | Auto-scaling policy ID. | Yes |
|
Use case: Removing an auto-scaling policy with the ID: autoscaling-policy-1
.
remove-autoscaling-policy autoscaling-policy-1
Successfully deleted Auto-scaling policy