You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SageMaker::Types::CreateImageRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateImageRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  description: "ImageDescription",
  display_name: "ImageDisplayName",
  image_name: "ImageName", # required
  role_arn: "RoleArn", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

The description of the image.

Returns:

  • (String) —

    The description of the image.

#display_name ⇒ String

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

Returns:

  • (String) —

    The display name of the image.

#image_name ⇒ String

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

Returns:

  • (String) —

    The name of the image.

#role_arn ⇒ String

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Returns:

  • (String) —

    The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

#tags ⇒ Array<Types::Tag>

A list of tags to apply to the image.

Returns:

  • (Array<Types::Tag>) —

    A list of tags to apply to the image.