Class CfnModel.RepositoryAuthConfigProperty
Specifies an authentication configuration for the private docker registry where your model image is hosted.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class RepositoryAuthConfigProperty : Object, CfnModel.IRepositoryAuthConfigProperty
Syntax (vb)
Public Class RepositoryAuthConfigProperty
Inherits Object
Implements CfnModel.IRepositoryAuthConfigProperty
Remarks
Specify a value for this property only if you specified Vpc
as the value for the RepositoryAccessMode
field of the ImageConfig
object that you passed to a call to CreateModel
and the private Docker registry where the model image is hosted requires authentication.
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 repositoryAuthConfigProperty = new RepositoryAuthConfigProperty {
RepositoryCredentialsProviderArn = "repositoryCredentialsProviderArn"
};
Synopsis
Constructors
RepositoryAuthConfigProperty() |
Properties
RepositoryCredentialsProviderArn | The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. |
Constructors
RepositoryAuthConfigProperty()
public RepositoryAuthConfigProperty()
Properties
RepositoryCredentialsProviderArn
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted.
public string RepositoryCredentialsProviderArn { get; set; }
Property Value
System.String
Remarks
For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide .