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

Class: Aws::SageMaker::Types::CreateAppRequest

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

Overview

Note:

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

{
  domain_id: "DomainId", # required
  user_profile_name: "UserProfileName", # required
  app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard
  app_name: "AppName", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  resource_spec: {
    sage_maker_image_arn: "ImageArn",
    sage_maker_image_version_arn: "ImageVersionArn",
    instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#app_name ⇒ String

The name of the app.

Returns:

  • (String) —

    The name of the app.

#app_type ⇒ String

The type of app.

Possible values:

  • JupyterServer
  • KernelGateway
  • TensorBoard

Returns:

  • (String) —

    The type of app.

#domain_id ⇒ String

The domain ID.

Returns:

  • (String) —

    The domain ID.

#resource_spec ⇒ Types::ResourceSpec

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

Returns:

  • (Types::ResourceSpec) —

    The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

#tags ⇒ Array<Types::Tag>

Each tag consists of a key and an optional value. Tag keys must be unique per resource.

Returns:

  • (Array<Types::Tag>) —

    Each tag consists of a key and an optional value.

#user_profile_name ⇒ String

The user profile name.

Returns:

  • (String) —

    The user profile name.