Class: Aws::SageMaker::Types::ResourceSpec

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass ResourceSpec data as a hash:

{
  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.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.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.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge
  lifecycle_config_arn: "StudioLifecycleConfigArn",
}

Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_typeString

The instance type that the image version runs on.

JupyterServer apps only support the system value.

For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

Returns:

  • (String)


37973
37974
37975
37976
37977
37978
37979
37980
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37973

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :instance_type,
  :lifecycle_config_arn)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_config_arnString

The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

Returns:

  • (String)


37973
37974
37975
37976
37977
37978
37979
37980
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37973

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :instance_type,
  :lifecycle_config_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sage_maker_image_arnString

The ARN of the SageMaker image that the image version belongs to.

Returns:

  • (String)


37973
37974
37975
37976
37977
37978
37979
37980
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37973

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :instance_type,
  :lifecycle_config_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sage_maker_image_version_arnString

The ARN of the image version created on the instance.

Returns:

  • (String)


37973
37974
37975
37976
37977
37978
37979
37980
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 37973

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :instance_type,
  :lifecycle_config_arn)
  SENSITIVE = []
  include Aws::Structure
end