Interface CfnModelCard.InferenceSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCard.InferenceSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnModelCard
@Stability(Stable)
public static interface CfnModelCard.InferenceSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Defines how to perform inference generation after a training job is run.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
InferenceSpecificationProperty inferenceSpecificationProperty = InferenceSpecificationProperty.builder()
.containers(List.of(ContainerProperty.builder()
.image("image")
// the properties below are optional
.modelDataUrl("modelDataUrl")
.nearestModelName("nearestModelName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelCard.InferenceSpecificationPropertystatic final classAn implementation forCfnModelCard.InferenceSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon ECR registry path of the Docker image that contains the inference code.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainers
The Amazon ECR registry path of the Docker image that contains the inference code.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.ContainerProperty>- See Also:
-
builder
-