InferenceComponentContainerSpecification
¶
Source code in docs_src/capo_sagemaker/types/inference_component_container_specification.py
artifact_url
instance-attribute
¶
artifact_url: NotRequired[Url]
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
container_metrics_config
instance-attribute
¶
container_metrics_config: NotRequired[ContainerMetricsConfig]
The configuration for container metrics scraping. Specifies the metrics endpoint path and publishing frequency for the inference component's container. If not specified when EnableDetailedObservability is True, the default path /metrics on port 8080 is used. For first-party and Deep Learning Containers (DLC), the endpoint path is determined automatically and this configuration is optional.
environment
instance-attribute
¶
environment: NotRequired[EnvironmentMap]
The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.
image
instance-attribute
¶
image: NotRequired[ContainerImage]
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.