ModelPrimaryContainerImageConfig constructor

const ModelPrimaryContainerImageConfig({
  1. required Input<String> repositoryAccessMode,
  2. Input<ModelPrimaryContainerImageConfigRepositoryAuthConfig?>? repositoryAuthConfig,
})

Creates a new ModelPrimaryContainerImageConfig. repositoryAccessMode Whether the model container is in Amazon ECR or a private Docker registry accessible from your VPC. Allowed values are: Platform and Vpc. 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, and the private Docker registry where the model image is hosted requires authentication. see Repository Auth Config.

Implementation

const ModelPrimaryContainerImageConfig({
  required this.repositoryAccessMode,
  this.repositoryAuthConfig,
});