How to programmatically access Kubernetes cluster with aws