AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SageMaker::Types::ModelPackageContainerDefinition

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 ModelPackageContainerDefinition data as a hash:

{
  container_hostname: "ContainerHostname",
  image: "ContainerImage", # required
  image_digest: "ImageDigest",
  model_data_url: "Url",
  product_id: "ProductId",
  environment: {
    "EnvironmentKey" => "EnvironmentValue",
  },
}

Describes the Docker container for the model package.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_hostnameString

The DNS host name for the Docker container.

Returns:

  • (String)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end

#environmentHash<String,String>

The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.

Returns:

  • (Hash<String,String>)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end

#imageString

The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

Returns:

  • (String)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end

#image_digestString

An MD5 hash of the training algorithm that identifies the Docker image used for training.

Returns:

  • (String)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end

#model_data_urlString

The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

The model artifacts must be in an S3 bucket that is in the same region as the model package.

Returns:

  • (String)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end

#product_idString

The Amazon Web Services Marketplace product ID of the model package.

Returns:

  • (String)


26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26374

class ModelPackageContainerDefinition < Struct.new(
  :container_hostname,
  :image,
  :image_digest,
  :model_data_url,
  :product_id,
  :environment)
  SENSITIVE = []
  include Aws::Structure
end