echo aws profile

C++
export AWS_PROFILE=my-profile

echo $AWS_PROFILEaws configure --profile
Source

Also in C++: