ImageConfig - Amazon SageMaker

ImageConfig

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

Contents

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.

Type: String

Valid Values: Platform | Vpc

Required: Yes

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.

Type: RepositoryAuthConfig object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: