Command option Sample:aws ec2 modify-instance-placement

Search command sample in the internet.It is the result.

Modifies the placement attributes for a specified instance.Show details from next link. 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 のオプション一覧