Command option Sample:aws gamelift get-instance-access

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

Requests remote access to a fleet instance.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/gamelift/get-instance-access.html

aws gamelift get-instance-access --fleet-id "fleet-9999ffff-88ee-77dd-66cc-5555bbbb44aa" --instance-id "i-11111111a222b333c" --query 'InstanceAccess.Credentials.Secret' --output text
    GetInstanceAccess - Amazon GameLift Service : http://docs.aws.amazon.com/gamelift/latest/apireference/API_GetInstanceAccess.html
aws gamelift get-instance-access --fleet-id
    Trouble Accessing Remote Instance - Game Dev Forum : http://gamedev.amazon.com/forums/questions/66864/trouble-accessing-remote-instance.html

aws のオプション一覧