interface ManagedInstanceScalingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnEndpointConfigPropsMixin.ManagedInstanceScalingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnEndpointConfigPropsMixin_ManagedInstanceScalingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.ManagedInstanceScalingProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnEndpointConfigPropsMixin.ManagedInstanceScalingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnEndpointConfigPropsMixin » ManagedInstanceScalingProperty |
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 { aws_sagemaker as sagemaker } from '@aws-cdk/cfn-property-mixins';
const managedInstanceScalingProperty: sagemaker.CfnEndpointConfigPropsMixin.ManagedInstanceScalingProperty = {
maxInstanceCount: 123,
minInstanceCount: 123,
scaleInPolicy: {
cooldownInMinutes: 123,
maximumStepSize: 123,
strategy: 'strategy',
},
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic. |
| min | number | The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic. |
| scale | IResolvable | Scale | Specifies how the endpoint releases instances when managed instance scaling scales in. |
| status? | string | Indicates whether managed instance scaling is enabled. |
maxInstanceCount?
Type:
number
(optional)
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.
minInstanceCount?
Type:
number
(optional)
The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.
scaleInPolicy?
Type:
IResolvable | Scale
(optional)
Specifies how the endpoint releases instances when managed instance scaling scales in.
status?
Type:
string
(optional)
Indicates whether managed instance scaling is enabled.

.NET
Go
Java
Python
TypeScript