Overview

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>

Parameter definitions

Short optionLong optionDescriptionRequiredExample value
N/AN/AAuto-scaling policy ID.Yes

autoscaling-policy-1

Example

Use case: Removing an auto-scaling policy with the ID: autoscaling-policy-1.

remove-autoscaling-policy autoscaling-policy-1

Sample output

Successfully deleted Auto-scaling policy
  • No labels