コマンドオプションサンプル:aws ec2 modify-instance-placement

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

指定されたインスタンスの配置属性を変更します。 詳細は次のリンクを参照してください。 https://docs.aws.amazon.com/ja_jp/cli/latest/reference/ec2/modify-instance-placement.html

aws ec2 modify-instance-placement --instance-id i-1234567890abcdef0 --affinity host --host-id h-012a3456b7890cdef
    Placement Groups - Amazon Elastic Compute Cloud : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html

aws のオプション一覧