Command option Sample:aws ec2 create-network-interface-permission

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

Grants an AWS-authorized account permission to attach the specifiednetwork interface to an instance in their account.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/ec2/create-network-interface-permission.html

aws ec2 create-network-interface-permission --network-interface-id eni-1a2b3c4d --aws-account-id 123456789012 --permission INSTANCE-ATTACH
    create-network-interface — AWS CLI 1.16.6 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/ec2/create-network-interface-permission.html

aws のオプション一覧