public static interface CfnModel.ImageConfigProperty
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() |
java.lang.String |
getRepositoryAccessMode()
Set this to one of the following values:.
|
default java.lang.Object |
getRepositoryAuthConfig()
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.
|
java.lang.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.default java.lang.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.
static CfnModel.ImageConfigProperty.Builder builder()