#[non_exhaustive]pub struct InferenceComponentContainerSpecificationSummary {
pub deployed_image: Option<DeployedImage>,
pub artifact_url: Option<String>,
pub environment: Option<HashMap<String, String>>,
}
Expand description
Details about the resources that are deployed with this inference component.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.deployed_image: Option<DeployedImage>
Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant.
If you used the registry/repository[:tag]
form to specify the image path of the primary container when you created the model hosted in this ProductionVariant
, the path resolves to a path of the form registry/repository[@digest]
. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide.
artifact_url: Option<String>
The Amazon S3 path where the model artifacts are stored.
environment: Option<HashMap<String, String>>
The environment variables to set in the Docker container.
Implementations§
source§impl InferenceComponentContainerSpecificationSummary
impl InferenceComponentContainerSpecificationSummary
sourcepub fn deployed_image(&self) -> Option<&DeployedImage>
pub fn deployed_image(&self) -> Option<&DeployedImage>
Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant.
If you used the registry/repository[:tag]
form to specify the image path of the primary container when you created the model hosted in this ProductionVariant
, the path resolves to a path of the form registry/repository[@digest]
. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide.
sourcepub fn artifact_url(&self) -> Option<&str>
pub fn artifact_url(&self) -> Option<&str>
The Amazon S3 path where the model artifacts are stored.
source§impl InferenceComponentContainerSpecificationSummary
impl InferenceComponentContainerSpecificationSummary
sourcepub fn builder() -> InferenceComponentContainerSpecificationSummaryBuilder
pub fn builder() -> InferenceComponentContainerSpecificationSummaryBuilder
Creates a new builder-style object to manufacture InferenceComponentContainerSpecificationSummary
.
Trait Implementations§
source§impl Clone for InferenceComponentContainerSpecificationSummary
impl Clone for InferenceComponentContainerSpecificationSummary
source§fn clone(&self) -> InferenceComponentContainerSpecificationSummary
fn clone(&self) -> InferenceComponentContainerSpecificationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for InferenceComponentContainerSpecificationSummary
impl PartialEq for InferenceComponentContainerSpecificationSummary
source§fn eq(&self, other: &InferenceComponentContainerSpecificationSummary) -> bool
fn eq(&self, other: &InferenceComponentContainerSpecificationSummary) -> bool
self
and other
values to be equal, and is used
by ==
.