Skip to content

ImageConfig

Source code in docs_src/capo_sagemaker/types/image_config.py
class ImageConfig(TypedDict, closed=True):
    repository_access_mode: NotRequired[
        "capo_sagemaker.types.repository_access_mode.RepositoryAccessMode"
    ]
    """<p>Set this to one of the following values:</p> <ul> <li> <p> <code>Platform</code> - The model image is hosted in Amazon ECR.</p> </li> <li> <p> <code>Vpc</code> - The model image is hosted in a private Docker registry in your VPC.</p> </li> </ul>"""
    repository_auth_config: NotRequired[
        "capo_sagemaker.types.repository_auth_config.RepositoryAuthConfig"
    ]
    """<p>(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 <code>Vpc</code> as the value for the <code>RepositoryAccessMode</code> field, and the private Docker registry where the model image is hosted requires authentication.</p>"""

repository_access_mode instance-attribute

repository_access_mode: NotRequired[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.

repository_auth_config instance-attribute

repository_auth_config: NotRequired[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.