Interface CfnEndpointConfigPropsMixin.IScaleInPolicyProperty
Specifies how the endpoint releases instances when managed instance scaling scales in.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnEndpointConfigPropsMixin.IScaleInPolicyProperty
Syntax (vb)
Public Interface CfnEndpointConfigPropsMixin.IScaleInPolicyProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SageMaker;
var scaleInPolicyProperty = new ScaleInPolicyProperty {
CooldownInMinutes = 123,
MaximumStepSize = 123,
Strategy = "strategy"
};
Synopsis
Properties
| CooldownInMinutes | The cooldown period, in minutes, after the last endpoint operation before the endpoint evaluates consolidation scale-in opportunities. |
| MaximumStepSize | The maximum number of instances that the endpoint can terminate at a time during a consolidation scale-in operation. |
| Strategy | The strategy for scaling in instances. |
Properties
CooldownInMinutes
The cooldown period, in minutes, after the last endpoint operation before the endpoint evaluates consolidation scale-in opportunities.
double? CooldownInMinutes { get; }
Property Value
Remarks
Valid values are 5 to 1440. The default is 20.
MaximumStepSize
The maximum number of instances that the endpoint can terminate at a time during a consolidation scale-in operation.
double? MaximumStepSize { get; }
Property Value
Remarks
Valid values are 1 to 100. The default is 1.
Strategy
The strategy for scaling in instances.
string? Strategy { get; }
Property Value
Remarks
IDLE_RELEASE releases instances that have no hosted inference component copies. CONSOLIDATION consolidates inference component copies onto fewer instances to release more instances.