Interface CfnEndpointConfig.ManagedInstanceScalingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.ManagedInstanceScalingProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.ManagedInstanceScalingProperty
extends software.amazon.jsii.JsiiSerializable
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
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.*;
ManagedInstanceScalingProperty managedInstanceScalingProperty = ManagedInstanceScalingProperty.builder()
.maxInstanceCount(123)
.minInstanceCount(123)
.scaleInPolicy(ScaleInPolicyProperty.builder()
.strategy("strategy")
// the properties below are optional
.cooldownInMinutes(123)
.maximumStepSize(123)
.build())
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfig.ManagedInstanceScalingPropertystatic final classAn implementation forCfnEndpointConfig.ManagedInstanceScalingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.default NumberThe minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.default ObjectSpecifies how the endpoint releases instances when managed instance scaling scales in.default StringIndicates whether managed instance scaling is enabled.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxInstanceCount
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.- See Also:
-
getMinInstanceCount
The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.- See Also:
-
getScaleInPolicy
Specifies how the endpoint releases instances when managed instance scaling scales in.Returns union: either
IResolvableorCfnEndpointConfig.ScaleInPolicyProperty- See Also:
-
getStatus
Indicates whether managed instance scaling is enabled.- See Also:
-
builder
-