libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.ImageConfig

Description

 
Synopsis

Documentation

data ImageConfig Source #

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

See: newImageConfig smart constructor.

Constructors

ImageConfig' 

Fields

  • repositoryAuthConfig :: Maybe 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.

  • repositoryAccessMode :: 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.

Instances

Instances details
Eq ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

Read ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

Show ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

Generic ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

Associated Types

type Rep ImageConfig :: Type -> Type #

NFData ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

Methods

rnf :: ImageConfig -> () #

Hashable ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

ToJSON ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

FromJSON ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

type Rep ImageConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ImageConfig

type Rep ImageConfig = D1 ('MetaData "ImageConfig" "Amazonka.SageMaker.Types.ImageConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ImageConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryAuthConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAuthConfig)) :*: S1 ('MetaSel ('Just "repositoryAccessMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryAccessMode)))

newImageConfig Source #

Create a value of ImageConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryAuthConfig:ImageConfig', imageConfig_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.

$sel:repositoryAccessMode:ImageConfig', imageConfig_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.

imageConfig_repositoryAuthConfig :: Lens' ImageConfig (Maybe RepositoryAuthConfig) Source #

(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.

imageConfig_repositoryAccessMode :: Lens' ImageConfig RepositoryAccessMode Source #

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.