Struct aws_sdk_sagemaker::model::ImageConfig [−][src]
#[non_exhaustive]pub struct ImageConfig {
pub repository_access_mode: Option<RepositoryAccessMode>,
pub repository_auth_config: Option<RepositoryAuthConfig>,
}
Expand description
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.repository_access_mode: 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.
repository_auth_config: 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.
Implementations
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.
(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.
Creates a new builder-style object to manufacture ImageConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageConfig
impl Send for ImageConfig
impl Sync for ImageConfig
impl Unpin for ImageConfig
impl UnwindSafe for ImageConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more