Command option Sample:aws lightsail put-instance-public-ports

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

Sets the specified open ports for an Amazon Lightsail instance, andcloses all ports for every protocol not included in the currentrequest.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/lightsail/put-instance-public-ports.html

aws のオプション一覧