404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.116.69.162: ~ $
**To update a scaling plan**

The following ``update-scaling-plan`` example modifies the scaling metric for an Auto Scaling group in the specified scaling plan. ::

    aws autoscaling-plans update-scaling-plan \
        --scaling-plan-name my-scaling-plan \
        --scaling-plan-version 1 \
        --scaling-instructions '{"ScalableDimension":"autoscaling:autoScalingGroup:DesiredCapacity","ResourceId":"autoScalingGroup/my-asg","ServiceNamespace":"autoscaling","TargetTrackingConfigurations":[{"PredefinedScalingMetricSpecification": {"PredefinedScalingMetricType":"ALBRequestCountPerTarget","ResourceLabel":"app/my-alb/f37c06a68c1748aa/targetgroup/my-target-group/6d4ea56ca2d6a18d"},"TargetValue":40.0}],"MinCapacity": 1,"MaxCapacity": 10}'

This command produces no output.

For more information, see `What Is AWS Auto Scaling? <https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html>`__ in the *AWS Auto Scaling User Guide*.

Filemanager

Name Type Size Permission Actions
create-scaling-plan.rst File 2.1 KB 0644
delete-scaling-plan.rst File 429 B 0644
describe-scaling-plan-resources.rst File 1.78 KB 0644
describe-scaling-plans.rst File 4.3 KB 0644
get-scaling-plan-resource-forecast-data.rst File 869 B 0644
update-scaling-plan.rst File 964 B 0644