interface InferenceComponentAvailabilityZoneBalanceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceComponent.InferenceComponentAvailabilityZoneBalanceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceComponent_InferenceComponentAvailabilityZoneBalanceProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentAvailabilityZoneBalanceProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceComponent.InferenceComponentAvailabilityZoneBalanceProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnInferenceComponent » InferenceComponentAvailabilityZoneBalanceProperty |
Configuration for balancing inference component copies across Availability Zones.
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 inferenceComponentAvailabilityZoneBalanceProperty: sagemaker.CfnInferenceComponent.InferenceComponentAvailabilityZoneBalanceProperty = {
enforcementMode: 'enforcementMode',
// the properties below are optional
maxImbalance: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| enforcement | string | |
| max | number | The maximum allowed difference in the number of inference component copies between any two Availability Zones. |
enforcementMode
Type:
string
maxImbalance?
Type:
number
(optional)
The maximum allowed difference in the number of inference component copies between any two Availability Zones.

.NET
Go
Java
Python
TypeScript