Interface CfnModel.ImageConfigProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnModel.ImageConfigProperty extends
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ImageConfigProperty imageConfigProperty = ImageConfigProperty.builder()
         // the properties below are optional
  • Method Details

    • getRepositoryAccessMode

      @Stability(Stable) @NotNull String 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.
    • getRepositoryAuthConfig

      @Stability(Stable) @Nullable default Object 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 Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.

    • builder

      @Stability(Stable) static CfnModel.ImageConfigProperty.Builder builder()
      a CfnModel.ImageConfigProperty.Builder of CfnModel.ImageConfigProperty