Show / Hide Table of Contents

Class CfnModelPackagePropsMixin.AdditionalInferenceSpecificationDefinitionProperty

A structure of additional Inference Specification.

Inheritance
object
CfnModelPackagePropsMixin.AdditionalInferenceSpecificationDefinitionProperty
Implements
CfnModelPackagePropsMixin.IAdditionalInferenceSpecificationDefinitionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnModelPackagePropsMixin.AdditionalInferenceSpecificationDefinitionProperty : CfnModelPackagePropsMixin.IAdditionalInferenceSpecificationDefinitionProperty
Syntax (vb)
Public Class CfnModelPackagePropsMixin.AdditionalInferenceSpecificationDefinitionProperty Implements CfnModelPackagePropsMixin.IAdditionalInferenceSpecificationDefinitionProperty
Remarks

Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-additionalinferencespecificationdefinition.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 modelInput;

             var additionalInferenceSpecificationDefinitionProperty = new AdditionalInferenceSpecificationDefinitionProperty {
                 Containers = new [] { new ModelPackageContainerDefinitionProperty {
                     ContainerHostname = "containerHostname",
                     Environment = new Dictionary<string, string> {
                         { "environmentKey", "environment" }
                     },
                     Framework = "framework",
                     FrameworkVersion = "frameworkVersion",
                     Image = "image",
                     ImageDigest = "imageDigest",
                     ModelDataSource = new ModelDataSourceProperty {
                         S3DataSource = new S3ModelDataSourceProperty {
                             CompressionType = "compressionType",
                             ModelAccessConfig = new ModelAccessConfigProperty {
                                 AcceptEula = false
                             },
                             S3DataType = "s3DataType",
                             S3Uri = "s3Uri"
                         }
                     },
                     ModelDataUrl = "modelDataUrl",
                     ModelInput = modelInput,
                     NearestModelName = "nearestModelName"
                 } },
                 Description = "description",
                 Name = "name",
                 SupportedContentTypes = new [] { "supportedContentTypes" },
                 SupportedRealtimeInferenceInstanceTypes = new [] { "supportedRealtimeInferenceInstanceTypes" },
                 SupportedResponseMimeTypes = new [] { "supportedResponseMimeTypes" },
                 SupportedTransformInstanceTypes = new [] { "supportedTransformInstanceTypes" }
             };

Synopsis

Constructors

AdditionalInferenceSpecificationDefinitionProperty()

A structure of additional Inference Specification.

Properties

Containers

The Amazon ECR registry path of the Docker image that contains the inference code.

Description

A description of the additional Inference specification.

Name

A unique name to identify the additional inference specification.

SupportedContentTypes

The supported MIME types for the input data.

SupportedRealtimeInferenceInstanceTypes

A list of the instance types that are used to generate inferences in real-time.

SupportedResponseMimeTypes

The supported MIME types for the output data.

SupportedTransformInstanceTypes

A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

Constructors

AdditionalInferenceSpecificationDefinitionProperty()

A structure of additional Inference Specification.

public AdditionalInferenceSpecificationDefinitionProperty()
Remarks

Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-additionalinferencespecificationdefinition.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 modelInput;

             var additionalInferenceSpecificationDefinitionProperty = new AdditionalInferenceSpecificationDefinitionProperty {
                 Containers = new [] { new ModelPackageContainerDefinitionProperty {
                     ContainerHostname = "containerHostname",
                     Environment = new Dictionary<string, string> {
                         { "environmentKey", "environment" }
                     },
                     Framework = "framework",
                     FrameworkVersion = "frameworkVersion",
                     Image = "image",
                     ImageDigest = "imageDigest",
                     ModelDataSource = new ModelDataSourceProperty {
                         S3DataSource = new S3ModelDataSourceProperty {
                             CompressionType = "compressionType",
                             ModelAccessConfig = new ModelAccessConfigProperty {
                                 AcceptEula = false
                             },
                             S3DataType = "s3DataType",
                             S3Uri = "s3Uri"
                         }
                     },
                     ModelDataUrl = "modelDataUrl",
                     ModelInput = modelInput,
                     NearestModelName = "nearestModelName"
                 } },
                 Description = "description",
                 Name = "name",
                 SupportedContentTypes = new [] { "supportedContentTypes" },
                 SupportedRealtimeInferenceInstanceTypes = new [] { "supportedRealtimeInferenceInstanceTypes" },
                 SupportedResponseMimeTypes = new [] { "supportedResponseMimeTypes" },
                 SupportedTransformInstanceTypes = new [] { "supportedTransformInstanceTypes" }
             };

Properties

Containers

The Amazon ECR registry path of the Docker image that contains the inference code.

public object? Containers { get; set; }
Property Value

object

Remarks

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

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

Description

A description of the additional Inference specification.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-additionalinferencespecificationdefinition.html#cfn-sagemaker-modelpackage-additionalinferencespecificationdefinition-description

Name

A unique name to identify the additional inference specification.

public string? Name { get; set; }
Property Value

string

Remarks

The name must be unique within the list of your additional inference specifications for a particular model package.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-additionalinferencespecificationdefinition.html#cfn-sagemaker-modelpackage-additionalinferencespecificationdefinition-name

SupportedContentTypes

The supported MIME types for the input data.

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

string[]

Remarks

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

SupportedRealtimeInferenceInstanceTypes

A list of the instance types that are used to generate inferences in real-time.

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

string[]

Remarks

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

SupportedResponseMimeTypes

The supported MIME types for the output data.

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

string[]

Remarks

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

SupportedTransformInstanceTypes

A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

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

string[]

Remarks

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

Implements

CfnModelPackagePropsMixin.IAdditionalInferenceSpecificationDefinitionProperty
Back to top Generated by DocFX