简体   繁体   中英

What is the meaning of executionRoleArn in boto3 API for EMR Serverless?

According to the API for the function start_job_run , I need to give a executionRoleArn - what is this? I thought is the name of the IAM role I created for it (the one I give the job as the runtime role when I try it from the AWS UI dashboard), but it doesn't work.

executionRoleArn is the ARN (Amazon Resource Name) for the role which you are using to interact with other services from within the job, it's not just the name but the full identifier and usually looks like the following:

arn:aws:iam::123456789012:role/myrole

https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_StartJobRun.html#emrserverless-StartJobRun-request-executionRoleArn

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM