interface InferenceComponentAvailabilityZoneBalanceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnInferenceComponentPropsMixin.InferenceComponentAvailabilityZoneBalanceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnInferenceComponentPropsMixin_InferenceComponentAvailabilityZoneBalanceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentAvailabilityZoneBalanceProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentAvailabilityZoneBalanceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnInferenceComponentPropsMixin » 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/cfn-property-mixins';
const inferenceComponentAvailabilityZoneBalanceProperty: sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentAvailabilityZoneBalanceProperty = {
enforcementMode: 'enforcementMode',
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
(optional)
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