Class CfnModel.ImageConfigProperty
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
Inheritance
System.Object
CfnModel.ImageConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class ImageConfigProperty : Object, CfnModel.IImageConfigProperty
Syntax (vb)
Public Class ImageConfigProperty
Inherits Object
Implements CfnModel.IImageConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var imageConfigProperty = new ImageConfigProperty {
RepositoryAccessMode = "repositoryAccessMode",
// the properties below are optional
RepositoryAuthConfig = new RepositoryAuthConfigProperty {
RepositoryCredentialsProviderArn = "repositoryCredentialsProviderArn"
}
};
Synopsis
Constructors
ImageConfigProperty() |
Properties
RepositoryAccessMode | Set this to one of the following values:. |
RepositoryAuthConfig | (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. |
Constructors
ImageConfigProperty()
public ImageConfigProperty()
Properties
RepositoryAccessMode
Set this to one of the following values:.
public string RepositoryAccessMode { get; set; }
Property Value
System.String
Remarks
RepositoryAuthConfig
(Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.
public object RepositoryAuthConfig { get; set; }
Property Value
System.Object
Remarks
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.