sagemaker_save_execution_role: Sagemake Execution Role

Description Usage Arguments Details

View source: R/install.R

Description

Functions that read and write the local Sagemaker execution role. The role will be saved locally in ~/.aws/config.

Use options(sagemaker.default.role.profile = "profile_name") to change the default profile name.

Usage

1
2
3
sagemaker_save_execution_role(role_arn, profile_name = "sagemaker")

sagemaker_get_execution_role(profile_name = "sagemaker")

Arguments

role_arn

The ARN of the Sagemaker execution role. See below for an example.

profile_name

Name of profile to save in the config file.

Details

Requires awscli.

The Sagemaker ARN has the following form:

arn:aws:iam::(account_number):role/service-role/(SageMakerExecutionRole)


tmastny/sagemaker documentation built on May 13, 2020, 12:25 a.m.