interface InferenceComponentSchedulingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceComponent.InferenceComponentSchedulingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceComponent_InferenceComponentSchedulingConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentSchedulingConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceComponent.InferenceComponentSchedulingConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnInferenceComponent » InferenceComponentSchedulingConfigProperty |
The scheduling configuration that determines how inference component copies are placed across available instances.
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-lib';
const inferenceComponentSchedulingConfigProperty: sagemaker.CfnInferenceComponent.InferenceComponentSchedulingConfigProperty = {
availabilityZoneBalance: {
enforcementMode: 'enforcementMode',
// the properties below are optional
maxImbalance: 123,
},
placementStrategy: 'placementStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| availability | IResolvable | Inference | Configuration for balancing inference component copies across Availability Zones. |
| placement | string |
availabilityZoneBalance
Type:
IResolvable | Inference
Configuration for balancing inference component copies across Availability Zones.
placementStrategy
Type:
string

.NET
Go
Java
Python
TypeScript