Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html

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

string

Remarks

This path must point to a single gzip compressed tar archive (.tar.gz suffix).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentcontainerspecification-artifacturl

DeployedImage

Defines a container that provides the runtime environment for a model that you deploy with an inference component.

object? DeployedImage { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentcontainerspecification-deployedimage

Type union: either IResolvable or CfnInferenceComponentPropsMixin.IDeployedImageProperty

Environment

The environment variables to set in the Docker container.

object? Environment { get; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentcontainerspecification-environment

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; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentcontainerspecification-image

Back to top Generated by DocFX