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

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

{
  repository_access_mode: "Platform", # required, accepts Platform, Vpc
  repository_auth_config: {
    repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
  },
}

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)


18901
18902
18903
18904
18905
18906
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 18901

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.



18901
18902
18903
18904
18905
18906
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 18901

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