container_def | R Documentation |
Create a definition for executing a container as part of a SageMaker model.
container_def( image_uri, model_data_url = NULL, env = NULL, container_mode = NULL, image_config = NULL )
image_uri |
(str): Docker image to run for this container. |
model_data_url |
(str): S3 URI of data required by this container, e.g. SageMaker training job model artifacts (default: None). |
env |
(dict[str, str]): Environment variables to set inside the container (default: None). |
container_mode |
(str): The model container mode. Valid modes:
|
image_config |
(dict[str, str]): Specifies whether the image of model container is pulled from ECR, or private registry in your VPC. By default it is set to pull model container image from ECR. (default: None). |
dict[str, str]: A complete container definition object usable with the CreateModel API if passed via 'PrimaryContainers' field.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.