简体   繁体   English

EMR Serverless 的 boto3 API 中的 executionRoleArn 是什么意思?

[英]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?根据函数start_job_run的 API,我需要提供一个executionRoleArn - 这是什么? 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.我以为是我为它创建的 IAM 角色的名称(当我从 AWS UI 仪表板尝试时,我将其作为运行时角色),但它不起作用。

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: executionRoleArn是您用来与作业中的其他服务交互的角色的 ARN(亚马逊资源名称),它不仅是名称,而且是完整的标识符,通常如下所示:

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

https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html 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 https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_StartJobRun.html#emrserverless-StartJobRun-request-executionRoleArn

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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