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 Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnInferenceComponent.InferenceComponentContainerSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The Amazon S3 path where the model artifacts, which result from model training, are stored.default Object
default Object
The environment variables to set in the Docker container.default String
getImage()
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
-
getArtifactUrl
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).
- See Also:
-
getDeployedImage
- See Also:
-
getEnvironment
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.
- See Also:
-
getImage
The 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()
-