Interface CfnAlgorithmPropsMixin.InferenceSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnAlgorithmPropsMixin
@Stability(Stable)
public static interface CfnAlgorithmPropsMixin.InferenceSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
InferenceSpecificationProperty inferenceSpecificationProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlgorithmPropsMixin.InferenceSpecificationPropertystatic final classAn implementation forCfnAlgorithmPropsMixin.InferenceSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.ModelPackageContainerDefinitionProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainers
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.ModelPackageContainerDefinitionProperty>- See Also:
-
getSupportedContentTypes
- See Also:
-
getSupportedRealtimeInferenceInstanceTypes
- See Also:
-
getSupportedResponseMimeTypes
- See Also:
-
getSupportedTransformInstanceTypes
- See Also:
-
builder
-