Interface CfnInferenceComponent.InferenceComponentSchedulingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponent.InferenceComponentSchedulingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceComponent
@Stability(Stable)
public static interface CfnInferenceComponent.InferenceComponentSchedulingConfigProperty
extends software.amazon.jsii.JsiiSerializable
The scheduling configuration that determines how inference component copies are placed across available instances.
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.*;
InferenceComponentSchedulingConfigProperty inferenceComponentSchedulingConfigProperty = InferenceComponentSchedulingConfigProperty.builder()
.availabilityZoneBalance(InferenceComponentAvailabilityZoneBalanceProperty.builder()
.enforcementMode("enforcementMode")
// the properties below are optional
.maxImbalance(123)
.build())
.placementStrategy("placementStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceComponent.InferenceComponentSchedulingConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration for balancing inference component copies across Availability Zones.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZoneBalance
Configuration for balancing inference component copies across Availability Zones.Returns union: either
IResolvableorCfnInferenceComponent.InferenceComponentAvailabilityZoneBalanceProperty- See Also:
-
getPlacementStrategy
- See Also:
-
builder
@Stability(Stable) static CfnInferenceComponent.InferenceComponentSchedulingConfigProperty.Builder builder()
-