ImageConfig
import type { ImageConfig } from "https://aws-api.deno.dev/v0.3/services/sagemaker.ts?docs=full";
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
interface ImageConfig {
RepositoryAccessMode: RepositoryAccessMode;
RepositoryAuthConfig?: RepositoryAuthConfig | null;
}§Properties
§
RepositoryAccessMode: RepositoryAccessMode
[src]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.
§
RepositoryAuthConfig?: RepositoryAuthConfig | null
[src](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.