Interface CfnEndpointConfigPropsMixin.ScaleInPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfigPropsMixin.ScaleInPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfigPropsMixin
@Stability(Stable)
public static interface CfnEndpointConfigPropsMixin.ScaleInPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies how the endpoint releases instances when managed instance scaling scales in.
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.*;
ScaleInPolicyProperty scaleInPolicyProperty = ScaleInPolicyProperty.builder()
.cooldownInMinutes(123)
.maximumStepSize(123)
.strategy("strategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfigPropsMixin.ScaleInPolicyPropertystatic final classAn implementation forCfnEndpointConfigPropsMixin.ScaleInPolicyProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe cooldown period, in minutes, after the last endpoint operation before the endpoint evaluates consolidation scale-in opportunities.default NumberThe maximum number of instances that the endpoint can terminate at a time during a consolidation scale-in operation.default StringThe strategy for scaling in instances.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCooldownInMinutes
The cooldown period, in minutes, after the last endpoint operation before the endpoint evaluates consolidation scale-in opportunities.Valid values are 5 to 1440. The default is 20.
- See Also:
-
getMaximumStepSize
The maximum number of instances that the endpoint can terminate at a time during a consolidation scale-in operation.Valid values are 1 to 100. The default is 1.
- See Also:
-
getStrategy
The strategy for scaling in instances.IDLE_RELEASE releases instances that have no hosted inference component copies. CONSOLIDATION consolidates inference component copies onto fewer instances to release more instances.
- See Also:
-
builder
-