interface CfnAlgorithmMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnAlgorithmMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnAlgorithmMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAlgorithmMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnAlgorithmMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnAlgorithmMixinProps |
Properties for CfnAlgorithmPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-algorithm.html
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/cfn-property-mixins';
const cfnAlgorithmMixinProps: sagemaker.CfnAlgorithmMixinProps = {
algorithmDescription: 'algorithmDescription',
algorithmName: 'algorithmName',
certifyForMarketplace: false,
inferenceSpecification: {
containers: [{
containerHostname: 'containerHostname',
environment: {
environmentKey: 'environment',
},
framework: 'framework',
frameworkVersion: 'frameworkVersion',
image: 'image',
imageDigest: 'imageDigest',
isCheckpoint: false,
modelInput: {
dataInputConfig: 'dataInputConfig',
},
nearestModelName: 'nearestModelName',
}],
supportedContentTypes: ['supportedContentTypes'],
supportedRealtimeInferenceInstanceTypes: ['supportedRealtimeInferenceInstanceTypes'],
supportedResponseMimeTypes: ['supportedResponseMimeTypes'],
supportedTransformInstanceTypes: ['supportedTransformInstanceTypes'],
},
tags: [{
key: 'key',
value: 'value',
}],
trainingSpecification: {
metricDefinitions: [{
name: 'name',
regex: 'regex',
}],
supportedHyperParameters: [{
defaultValue: 'defaultValue',
description: 'description',
isRequired: false,
isTunable: false,
name: 'name',
range: {
categoricalParameterRangeSpecification: {
values: ['values'],
},
continuousParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
integerParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
},
type: 'type',
}],
supportedTrainingInstanceTypes: ['supportedTrainingInstanceTypes'],
supportedTuningJobObjectiveMetrics: [{
metricName: 'metricName',
type: 'type',
}],
supportsDistributedTraining: false,
trainingChannels: [{
description: 'description',
isRequired: false,
name: 'name',
supportedCompressionTypes: ['supportedCompressionTypes'],
supportedContentTypes: ['supportedContentTypes'],
supportedInputModes: ['supportedInputModes'],
}],
trainingImage: 'trainingImage',
trainingImageDigest: 'trainingImageDigest',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| algorithm | string | A description of the algorithm. |
| algorithm | string | The name of the algorithm. |
| certify | boolean | IResolvable | Whether to certify the algorithm so that it can be listed in AWS Marketplace. |
| inference | IResolvable | Inference | |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
| training | IResolvable | Training |
algorithmDescription?
Type:
string
(optional)
A description of the algorithm.
algorithmName?
Type:
string
(optional)
The name of the algorithm.
certifyForMarketplace?
Type:
boolean | IResolvable
(optional)
Whether to certify the algorithm so that it can be listed in AWS Marketplace.
inferenceSpecification?
Type:
IResolvable | Inference
(optional)
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
trainingSpecification?
Type:
IResolvable | Training
(optional)

.NET
Go
Java
Python
TypeScript