Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
ImageConfig' | |
|
Instances
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.