Interface CfnInferenceComponent.InferenceComponentContainerSpecificationProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnInferenceComponent.InferenceComponentContainerSpecificationProperty.Jsii$Proxy
- Enclosing class:
- CfnInferenceComponent
@Stability(Stable)
public static interface CfnInferenceComponent.InferenceComponentContainerSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 InferenceComponentContainerSpecificationProperty inferenceComponentContainerSpecificationProperty = InferenceComponentContainerSpecificationProperty.builder()
         .artifactUrl("artifactUrl")
         .deployedImage(DeployedImageProperty.builder()
                 .resolutionTime("resolutionTime")
                 .resolvedImage("resolvedImage")
                 .specifiedImage("specifiedImage")
                 .build())
         .environment(Map.of(
                 "environmentKey", "environment"))
         .image("image")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceComponent.InferenceComponentContainerSpecificationProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe Amazon S3 path where the model artifacts, which result from model training, are stored.default ObjectReturns union: eitherIResolvableorCfnInferenceComponent.DeployedImagePropertydefault ObjectThe environment variables to set in the Docker container.default StringgetImage()The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getArtifactUrlThe 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). - See Also:
 
- 
getDeployedImageReturns union: eitherIResolvableorCfnInferenceComponent.DeployedImageProperty- See Also:
 
- 
getEnvironmentThe 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. Returns union: either Mapinvalid input: '<'String, String> orIResolvable- See Also:
 
- 
getImageThe Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.- See Also:
 
- 
builder@Stability(Stable) static CfnInferenceComponent.InferenceComponentContainerSpecificationProperty.Builder builder()
 
-