Interface CfnModelCardPropsMixin.InferenceSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCardPropsMixin.InferenceSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnModelCardPropsMixin
@Stability(Stable)
public static interface CfnModelCardPropsMixin.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.cfnpropertymixins.services.sagemaker.*;
InferenceSpecificationProperty inferenceSpecificationProperty = InferenceSpecificationProperty.builder()
.containers(List.of(ContainerProperty.builder()
.image("image")
.modelDataUrl("modelDataUrl")
.nearestModelName("nearestModelName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelCardPropsMixin.InferenceSpecificationPropertystatic final classAn implementation forCfnModelCardPropsMixin.InferenceSpecificationProperty -
Method Summary
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: '<'eitherIResolvableorCfnModelCardPropsMixin.ContainerProperty>- See Also:
-
builder
-