interface InstancePoolProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnEndpointConfigPropsMixin.InstancePoolProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnEndpointConfigPropsMixin_InstancePoolProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.InstancePoolProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnEndpointConfigPropsMixin.InstancePoolProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnEndpointConfigPropsMixin » InstancePoolProperty |
Specifies an instance type and its priority for a heterogeneous endpoint.
Use instance pools to configure a production variant with multiple instance types, enabling the endpoint to provision instances across different types based on priority.
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 instancePoolProperty: sagemaker.CfnEndpointConfigPropsMixin.InstancePoolProperty = {
instanceType: 'instanceType',
modelNameOverride: 'modelNameOverride',
priority: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The ML compute instance type for the instance pool. |
| model | string | The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. |
| priority? | number | The priority for the instance pool. |
instanceType?
Type:
string
(optional)
The ML compute instance type for the instance pool.
modelNameOverride?
Type:
string
(optional)
The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant.
Use this to deploy a different model optimized for the instance type in this pool.
priority?
Type:
number
(optional)
The priority for the instance pool.
SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool. Valid values: 1 to 5, where 1 is the highest priority.

.NET
Go
Java
Python
TypeScript