interface ImageConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnModel.ImageConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModel_ImageConfigProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnModel.ImageConfigProperty |
![]() | aws_cdk.aws_sagemaker.CfnModel.ImageConfigProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnModel » ImageConfigProperty |
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const imageConfigProperty: sagemaker.CfnModel.ImageConfigProperty = {
repositoryAccessMode: 'repositoryAccessMode',
// the properties below are optional
repositoryAuthConfig: {
repositoryCredentialsProviderArn: 'repositoryCredentialsProviderArn',
},
};
Properties
Name | Type | Description |
---|---|---|
repository | string | Set this to one of the following values:. |
repository | IResolvable | Repository | (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. |
repositoryAccessMode
Type:
string
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.
repositoryAuthConfig?
Type:
IResolvable
|
Repository
(optional)
(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.