interface RepositoryAuthConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnModelPropsMixin.RepositoryAuthConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnModelPropsMixin_RepositoryAuthConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnModelPropsMixin.RepositoryAuthConfigProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnModelPropsMixin.RepositoryAuthConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnModelPropsMixin » RepositoryAuthConfigProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const repositoryAuthConfigProperty: sagemaker_mixins.CfnModelPropsMixin.RepositoryAuthConfigProperty = {
repositoryCredentialsProviderArn: 'repositoryCredentialsProviderArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| repository | string | 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. |
repositoryCredentialsProviderArn?
Type:
string
(optional)
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.
For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide .

.NET
Go
Java
Python
TypeScript