コード例 #1
0
        public void AutoScalingSetDesiredCapacity()
        {
            #region autoscaling-set-desired-capacity-1

            var client   = new AmazonAutoScalingClient();
            var response = client.SetDesiredCapacity(new SetDesiredCapacityRequest
            {
                AutoScalingGroupName = "my-auto-scaling-group",
                DesiredCapacity      = 2,
                HonorCooldown        = true
            });


            #endregion
        }