Show / Hide Table of Contents

Class CfnAlgorithm.InferenceSpecificationProperty

Inheritance
object
CfnAlgorithm.InferenceSpecificationProperty
Implements
CfnAlgorithm.IInferenceSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAlgorithm.InferenceSpecificationProperty : CfnAlgorithm.IInferenceSpecificationProperty
Syntax (vb)
Public Class CfnAlgorithm.InferenceSpecificationProperty Implements CfnAlgorithm.IInferenceSpecificationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.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.AWS.Sagemaker;

             var inferenceSpecificationProperty = new InferenceSpecificationProperty {
                 Containers = new [] { new ModelPackageContainerDefinitionProperty {
                     Image = "image",

                     // the properties below are optional
                     ContainerHostname = "containerHostname",
                     Environment = new Dictionary<string, string> {
                         { "environmentKey", "environment" }
                     },
                     Framework = "framework",
                     FrameworkVersion = "frameworkVersion",
                     ImageDigest = "imageDigest",
                     IsCheckpoint = false,
                     ModelInput = new ModelInputProperty {
                         DataInputConfig = "dataInputConfig"
                     },
                     NearestModelName = "nearestModelName"
                 } },

                 // the properties below are optional
                 SupportedContentTypes = new [] { "supportedContentTypes" },
                 SupportedRealtimeInferenceInstanceTypes = new [] { "supportedRealtimeInferenceInstanceTypes" },
                 SupportedResponseMimeTypes = new [] { "supportedResponseMimeTypes" },
                 SupportedTransformInstanceTypes = new [] { "supportedTransformInstanceTypes" }
             };

Synopsis

Constructors

InferenceSpecificationProperty()

Properties

Containers
SupportedContentTypes
SupportedRealtimeInferenceInstanceTypes
SupportedResponseMimeTypes
SupportedTransformInstanceTypes

Constructors

InferenceSpecificationProperty()

public InferenceSpecificationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.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.AWS.Sagemaker;

             var inferenceSpecificationProperty = new InferenceSpecificationProperty {
                 Containers = new [] { new ModelPackageContainerDefinitionProperty {
                     Image = "image",

                     // the properties below are optional
                     ContainerHostname = "containerHostname",
                     Environment = new Dictionary<string, string> {
                         { "environmentKey", "environment" }
                     },
                     Framework = "framework",
                     FrameworkVersion = "frameworkVersion",
                     ImageDigest = "imageDigest",
                     IsCheckpoint = false,
                     ModelInput = new ModelInputProperty {
                         DataInputConfig = "dataInputConfig"
                     },
                     NearestModelName = "nearestModelName"
                 } },

                 // the properties below are optional
                 SupportedContentTypes = new [] { "supportedContentTypes" },
                 SupportedRealtimeInferenceInstanceTypes = new [] { "supportedRealtimeInferenceInstanceTypes" },
                 SupportedResponseMimeTypes = new [] { "supportedResponseMimeTypes" },
                 SupportedTransformInstanceTypes = new [] { "supportedTransformInstanceTypes" }
             };

Properties

Containers

public object Containers { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.html#cfn-sagemaker-algorithm-inferencespecification-containers

Type union: either IResolvable or (either IResolvable or CfnAlgorithm.IModelPackageContainerDefinitionProperty)[]

SupportedContentTypes

public string[]? SupportedContentTypes { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.html#cfn-sagemaker-algorithm-inferencespecification-supportedcontenttypes

SupportedRealtimeInferenceInstanceTypes

public string[]? SupportedRealtimeInferenceInstanceTypes { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.html#cfn-sagemaker-algorithm-inferencespecification-supportedrealtimeinferenceinstancetypes

SupportedResponseMimeTypes

public string[]? SupportedResponseMimeTypes { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.html#cfn-sagemaker-algorithm-inferencespecification-supportedresponsemimetypes

SupportedTransformInstanceTypes

public string[]? SupportedTransformInstanceTypes { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-algorithm-inferencespecification.html#cfn-sagemaker-algorithm-inferencespecification-supportedtransforminstancetypes

Implements

CfnAlgorithm.IInferenceSpecificationProperty
Back to top Generated by DocFX