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

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

Overview

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

When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

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)


46082
46083
46084
46085
46086
46087
46088
46089
46090
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46082

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :sage_maker_image_version_alias,
  :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)


46082
46083
46084
46085
46086
46087
46088
46089
46090
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46082

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

#sage_maker_image_arnString

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

Returns:

  • (String)


46082
46083
46084
46085
46086
46087
46088
46089
46090
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46082

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

#sage_maker_image_version_aliasString

The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

Returns:

  • (String)


46082
46083
46084
46085
46086
46087
46088
46089
46090
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46082

class ResourceSpec < Struct.new(
  :sage_maker_image_arn,
  :sage_maker_image_version_arn,
  :sage_maker_image_version_alias,
  :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. To clear the value set for SageMakerImageVersionArn, pass None as the value.

Returns:

  • (String)


46082
46083
46084
46085
46086
46087
46088
46089
46090
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 46082

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