Using service-linked roles for AWS Batch
AWS Batch uses AWS Identity and Access Management (IAM) service-linked roles. A service-linked role is a unique type of IAM role that is linked directly to AWS Batch. Service-linked roles are predefined by AWS Batch and include all the permissions that the service requires to call other AWS services on your behalf.
AWS Batch uses two different service-linked roles:
-
AWSServiceRoleForBatch - For AWS Batch operations including compute environments.
-
AWSServiceRoleForAWSBatchWithSagemaker - For SageMaker AI workload management and queuing.