Class: Aws::SageMaker::Types::ImageConfig

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

Overview

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#repository_access_modeString

Set this to one of the following values:

  • Platform - The model image is hosted in Amazon ECR.

  • Vpc - The model image is hosted in a private Docker registry in your VPC.

Returns:

  • (String)


22674
22675
22676
22677
22678
22679
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22674

class ImageConfig < Struct.new(
  :repository_access_mode,
  :repository_auth_config)
  SENSITIVE = []
  include Aws::Structure
end

#repository_auth_configTypes::RepositoryAuthConfig

(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.



22674
22675
22676
22677
22678
22679
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22674

class ImageConfig < Struct.new(
  :repository_access_mode,
  :repository_auth_config)
  SENSITIVE = []
  include Aws::Structure
end