Interface CfnAlgorithmMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlgorithmMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:48.374Z")
@Stability(Stable)
public interface CfnAlgorithmMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAlgorithmPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
CfnAlgorithmMixinProps cfnAlgorithmMixinProps = CfnAlgorithmMixinProps.builder()
.algorithmDescription("algorithmDescription")
.algorithmName("algorithmName")
.certifyForMarketplace(false)
.inferenceSpecification(InferenceSpecificationProperty.builder()
.containers(List.of(ModelPackageContainerDefinitionProperty.builder()
.containerHostname("containerHostname")
.environment(Map.of(
"environmentKey", "environment"))
.framework("framework")
.frameworkVersion("frameworkVersion")
.image("image")
.imageDigest("imageDigest")
.isCheckpoint(false)
.modelInput(ModelInputProperty.builder()
.dataInputConfig("dataInputConfig")
.build())
.nearestModelName("nearestModelName")
.build()))
.supportedContentTypes(List.of("supportedContentTypes"))
.supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes"))
.supportedResponseMimeTypes(List.of("supportedResponseMimeTypes"))
.supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trainingSpecification(TrainingSpecificationProperty.builder()
.metricDefinitions(List.of(MetricDefinitionProperty.builder()
.name("name")
.regex("regex")
.build()))
.supportedHyperParameters(List.of(HyperParameterSpecificationProperty.builder()
.defaultValue("defaultValue")
.description("description")
.isRequired(false)
.isTunable(false)
.name("name")
.range(ParameterRangeProperty.builder()
.categoricalParameterRangeSpecification(CategoricalParameterRangeSpecificationProperty.builder()
.values(List.of("values"))
.build())
.continuousParameterRangeSpecification(ContinuousParameterRangeSpecificationProperty.builder()
.maxValue("maxValue")
.minValue("minValue")
.build())
.integerParameterRangeSpecification(IntegerParameterRangeSpecificationProperty.builder()
.maxValue("maxValue")
.minValue("minValue")
.build())
.build())
.type("type")
.build()))
.supportedTrainingInstanceTypes(List.of("supportedTrainingInstanceTypes"))
.supportedTuningJobObjectiveMetrics(List.of(HyperParameterTuningJobObjectiveProperty.builder()
.metricName("metricName")
.type("type")
.build()))
.supportsDistributedTraining(false)
.trainingChannels(List.of(ChannelSpecificationProperty.builder()
.description("description")
.isRequired(false)
.name("name")
.supportedCompressionTypes(List.of("supportedCompressionTypes"))
.supportedContentTypes(List.of("supportedContentTypes"))
.supportedInputModes(List.of("supportedInputModes"))
.build()))
.trainingImage("trainingImage")
.trainingImageDigest("trainingImageDigest")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlgorithmMixinPropsstatic final classAn implementation forCfnAlgorithmMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description of the algorithm.default StringThe name of the algorithm.default ObjectWhether to certify the algorithm so that it can be listed in AWS Marketplace.default ObjectReturns union: eitherIResolvableorCfnAlgorithmPropsMixin.InferenceSpecificationPropertygetTags()An array of key-value pairs to apply to this resource.default ObjectReturns union: eitherIResolvableorCfnAlgorithmPropsMixin.TrainingSpecificationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlgorithmDescription
A description of the algorithm.- See Also:
-
getAlgorithmName
The name of the algorithm.- See Also:
-
getCertifyForMarketplace
Whether to certify the algorithm so that it can be listed in AWS Marketplace.Returns union: either
BooleanorIResolvable- See Also:
-
getInferenceSpecification
Returns union: eitherIResolvableorCfnAlgorithmPropsMixin.InferenceSpecificationProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
getTrainingSpecification
Returns union: eitherIResolvableorCfnAlgorithmPropsMixin.TrainingSpecificationProperty- See Also:
-
builder
- Returns:
- a
CfnAlgorithmMixinProps.BuilderofCfnAlgorithmMixinProps
-