Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/application-autoscaling/delete-scaling-policy.rst
1567 views
**To delete a scaling policy**

This example deletes a scaling policy for the Amazon ECS service `web-app` running in the `default` cluster.

Command::

  aws application-autoscaling delete-scaling-policy --policy-name web-app-cpu-lt-25 --scalable-dimension ecs:service:DesiredCount --resource-id service/default/web-app --service-namespace ecs