Interface CfnInferenceComponentPropsMixin.IInferenceComponentContainerSpecificationProperty
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnInferenceComponentPropsMixin.IInferenceComponentContainerSpecificationProperty
Syntax (vb)
Public Interface CfnInferenceComponentPropsMixin.IInferenceComponentContainerSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;
var inferenceComponentContainerSpecificationProperty = new InferenceComponentContainerSpecificationProperty {
ArtifactUrl = "artifactUrl",
DeployedImage = new DeployedImageProperty {
ResolutionTime = "resolutionTime",
ResolvedImage = "resolvedImage",
SpecifiedImage = "specifiedImage"
},
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
Image = "image"
};
Synopsis
Properties
| ArtifactUrl | The Amazon S3 path where the model artifacts, which result from model training, are stored. |
| DeployedImage | Defines a container that provides the runtime environment for a model that you deploy with an inference component. |
| Environment | The environment variables to set in the Docker container. |
| Image | The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored. |
Properties
ArtifactUrl
The Amazon S3 path where the model artifacts, which result from model training, are stored.
string? ArtifactUrl { get; }
Property Value
Remarks
This path must point to a single gzip compressed tar archive (.tar.gz suffix).
DeployedImage
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
object? DeployedImage { get; }
Property Value
Remarks
Type union: either IResolvable or CfnInferenceComponentPropsMixin.IDeployedImageProperty
Environment
The environment variables to set in the Docker container.
object? Environment { get; }
Property Value
Remarks
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.
Type union: either Dictionary<string, string> or IResolvable
Image
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
string? Image { get; }