Interface CfnModel.ImageConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModel.ImageConfigProperty.Jsii$Proxy
- Enclosing class:
CfnModel
@Stability(Stable)
public static interface CfnModel.ImageConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModel.ImageConfigPropertystatic final classAn implementation forCfnModel.ImageConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRepositoryAccessMode
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.
- See Also:
-
getRepositoryAuthConfig
(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
Vpcas the value for theRepositoryAccessModefield, and the private Docker registry where the model image is hosted requires authentication.Returns union: either
IResolvableorCfnModel.RepositoryAuthConfigProperty- See Also:
-
builder
-