Amazon SageMaker
Developer Guide

Get the Amazon SageMaker Execution Role

Get the execution role for the notebook instance. This is the IAM role that you created when you created your notebook instance. You pass the role to the tuning job.

from sagemaker import get_execution_role role = get_execution_role() print(role)

Next Step

Specify a Bucket and Data Output Location

On this page: