RepositoryAuthConfig - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

RepositoryAuthConfig

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 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.

Contents

RepositoryCredentialsProviderArn

The Amazon Resource Name (ARN) of an Amazon Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an Amazon Lambda function, see Create a Lambda function with the console in the Amazon Lambda Developer Guide.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: .*

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: