Struct aws_sdk_sagemaker::model::ImageConfig
source · #[non_exhaustive]pub struct ImageConfig { /* private fields */ }
Expand description
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
Implementations§
source§impl ImageConfig
impl ImageConfig
sourcepub fn repository_access_mode(&self) -> Option<&RepositoryAccessMode>
pub fn repository_access_mode(&self) -> Option<&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.
sourcepub fn repository_auth_config(&self) -> Option<&RepositoryAuthConfig>
pub fn repository_auth_config(&self) -> Option<&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.
source§impl ImageConfig
impl ImageConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageConfig
.
Trait Implementations§
source§impl Clone for ImageConfig
impl Clone for ImageConfig
source§fn clone(&self) -> ImageConfig
fn clone(&self) -> ImageConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageConfig
impl Debug for ImageConfig
source§impl PartialEq<ImageConfig> for ImageConfig
impl PartialEq<ImageConfig> for ImageConfig
source§fn eq(&self, other: &ImageConfig) -> bool
fn eq(&self, other: &ImageConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.