class Aws::SageMaker::Types::ImageConfig

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

@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
      },
    }

@!attribute [rw] repository_access_mode

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.
@return [String]

@!attribute [rw] repository_auth_config

(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.
@return [Types::RepositoryAuthConfig]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ImageConfig AWS API Documentation

Constants

SENSITIVE