AWS SDK Version 3 for .NET
API Reference

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.

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

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.ImageConfig

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class ImageConfig

The ImageConfig type exposes the following members

Constructors

NameDescription
Public Method ImageConfig()

Properties

NameTypeDescription
Public Property RepositoryAccessMode Amazon.SageMaker.RepositoryAccessMode

Gets and sets the property RepositoryAccessMode.

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.

Public Property RepositoryAuthConfig Amazon.SageMaker.Model.RepositoryAuthConfig

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5