CmdID / aws / aws emr-containers
aws emr-containers create-role-associations
Creates role associations of given IAM role with EMR service accounts such that it can be used with Amazon EMR on EKS with the given namespace from the given EKS cluster. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--cluster-nameSpecify the name of the Amazon EKS cluster with which the IAM Role would be associated.--namespaceSpecify the job/application namespace from the Amazon EKS cluster with which the IAM Role would be associated.--operator-namespaceSpecify the namespace that you want to associate the operator service account with the IAM role.--role-nameSpecify the IAM Role name that you want to associate with Amazon EMR on EKS.--service-account-nameSpecify the service account name that you want to associate with the IAM role.--typeSpecify the Amazon EMR on EKS submission model and choose service accounts that you want to associate with Amazon EMR on EKS.