Interface CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty.Jsii$Proxy
Enclosing class:
CfnInferenceComponent

@Stability(Stable) public static interface CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty extends software.amazon.jsii.JsiiSerializable
Defines the compute resources to allocate to run a model that you assign to an inference component.

These resources include CPU cores, accelerators, and memory.

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.*;
 InferenceComponentComputeResourceRequirementsProperty inferenceComponentComputeResourceRequirementsProperty = InferenceComponentComputeResourceRequirementsProperty.builder()
         .maxMemoryRequiredInMb(123)
         .minMemoryRequiredInMb(123)
         .numberOfAcceleratorDevicesRequired(123)
         .numberOfCpuCoresRequired(123)
         .build();
 

See Also: