Skip to content

Create Image

sagemaker_create_image R Documentation

Creates a custom SageMaker image

Description

Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see Bring your own SageMaker image.

Usage

sagemaker_create_image(Description, DisplayName, ImageName, RoleArn,
  Tags)

Arguments

Description

The description of the image.

DisplayName

The display name of the image. If not provided, ImageName is displayed.

ImageName

[required] The name of the image. Must be unique to your account.

RoleArn

[required] The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Tags

A list of tags to apply to the image.

Value

A list with the following syntax:

list(
  ImageArn = "string"
)

Request syntax

svc$create_image(
  Description = "string",
  DisplayName = "string",
  ImageName = "string",
  RoleArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)