ClusterCapacityRequirementsProperty Struct
Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types.
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';
declare const onDemand: any;
declare const spot: any;
const clusterCapacityRequirementsProperty: sagemaker.CfnCluster.ClusterCapacityRequirementsProperty = {
onDemand: onDemand,
spot: spot,
};
Properties
onDemandoptionalanyon_demandoptionalAnyonDemandoptionalObjectOnDemandoptionalobjectOnDemandoptionalinterface{}#Configuration options specific to On-Demand instances.
Configuration options specific to Spot instances.