interface InferenceSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnAlgorithm.InferenceSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAlgorithm_InferenceSpecificationProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnAlgorithm.InferenceSpecificationProperty |
Python | aws_cdk.aws_sagemaker.CfnAlgorithm.InferenceSpecificationProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnAlgorithm » InferenceSpecificationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const inferenceSpecificationProperty: sagemaker.CfnAlgorithm.InferenceSpecificationProperty = {
containers: [{
image: 'image',
// the properties below are optional
containerHostname: 'containerHostname',
environment: {
environmentKey: 'environment',
},
framework: 'framework',
frameworkVersion: 'frameworkVersion',
imageDigest: 'imageDigest',
isCheckpoint: false,
modelInput: {
dataInputConfig: 'dataInputConfig',
},
nearestModelName: 'nearestModelName',
}],
// the properties below are optional
supportedContentTypes: ['supportedContentTypes'],
supportedRealtimeInferenceInstanceTypes: ['supportedRealtimeInferenceInstanceTypes'],
supportedResponseMimeTypes: ['supportedResponseMimeTypes'],
supportedTransformInstanceTypes: ['supportedTransformInstanceTypes'],
};
Properties
| Name | Type | Description |
|---|---|---|
| containers | IResolvable | (IResolvable | Model)[] | |
| supported | string[] | |
| supported | string[] | |
| supported | string[] | |
| supported | string[] |
containers
Type:
IResolvable | (IResolvable | Model)[]
supportedContentTypes?
Type:
string[]
(optional)
supportedRealtimeInferenceInstanceTypes?
Type:
string[]
(optional)
supportedResponseMimeTypes?
Type:
string[]
(optional)
supportedTransformInstanceTypes?
Type:
string[]
(optional)

.NET
Go
Java
Python
TypeScript