AWS/ContainersEcsFargate
If container deployed to ECS with role, that allows SSM connectivity and the execute permisson, login with
aws ecs execute-command --profile <accountcredentials> --cluster <ecs-cluster-name> --task <89b..ed5 --container <name> --command "/bin/bash" --interactive