@Stability(value=Stable)
public static interface CfnModel.ImageConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
ImageConfigProperty imageConfigProperty = ImageConfigProperty.builder()
.repositoryAccessMode("repositoryAccessMode")
// the properties below are optional
.repositoryAuthConfig(RepositoryAuthConfigProperty.builder()
.repositoryCredentialsProviderArn("repositoryCredentialsProviderArn")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModel.ImageConfigProperty.Builder
A builder for
CfnModel.ImageConfigProperty |
static class |
CfnModel.ImageConfigProperty.Jsii$Proxy
An implementation for
CfnModel.ImageConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnModel.ImageConfigProperty.Builder |
builder() |
String |
getRepositoryAccessMode()
Set this to one of the following values:.
|
default Object |
getRepositoryAuthConfig()
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.
|
@Stability(value=Stable) @NotNull String getRepositoryAccessMode()
Platform - The model image is hosted in Amazon ECR.Vpc - The model image is hosted in a private Docker registry in your VPC.@Stability(value=Stable) @Nullable default Object getRepositoryAuthConfig()
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.
@Stability(value=Stable) static CfnModel.ImageConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.