Skip to content
v2.274.0

InferenceComponentSchedulingConfigProperty Struct ​

The scheduling configuration that determines how inference component copies are placed across available instances.

Example ​

ts
// 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 ​

availabilityZoneBalanceIResolvable | CfnInferenceComponent.InferenceComponentAvailabilityZoneBalancePropertyavailability_zone_balancetyping.Union[IResolvable, InferenceComponentAvailabilityZoneBalanceProperty]availabilityZoneBalanceIResolvableAvailabilityZoneBalanceIResolvableAvailabilityZoneBalanceinterface{}required#
Configuration for balancing inference component copies across Availability Zones.
placementStrategystringplacement_strategystrplacementStrategyStringPlacementStrategystringPlacementStrategy*stringrequired#