Plugin for AWS CLI to start and end sessions that connect to managed instances
brew install --cask session-manager-plugin
session-manager-plugin