コマンドオプションサンプル:aws autoscaling enter-standby

コマンドサンプルを検索した結果です。

指定されたインスタンスをスタンバイ状態に移行します。 詳細は次のリンクを参照してください。 https://docs.aws.amazon.com/ja_jp/cli/latest/reference/autoscaling/enter-standby.html

aws autoscaling enter-standby --instance-ids i-5b73d709 --auto-scaling-group-name my-asg --should-decrement-desired-capacity
    Temporarily Removing Instances from Your Auto Scaling Group - Amazon EC2 Auto Scaling  : http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html
aws autoscaling enter-standby --instance-ids i-xxxxxxxx --auto-scaling-group-name "blue-asg" --should-decrement-desired-capacity
    (DVO401) Deep Dive into Blue/Green Deployments on AWS : http://www.slideshare.net/AmazonWebServices/dvo401-deep-dive-into-bluegreen-deployments-on-aws

aws のオプション一覧