interface ClusterCapacityRequirementsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnClusterPropsMixin.ClusterCapacityRequirementsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnClusterPropsMixin_ClusterCapacityRequirementsProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnClusterPropsMixin.ClusterCapacityRequirementsProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnClusterPropsMixin.ClusterCapacityRequirementsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnClusterPropsMixin » ClusterCapacityRequirementsProperty |
Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
declare const onDemand: any;
declare const spot: any;
const clusterCapacityRequirementsProperty: sagemaker_mixins.CfnClusterPropsMixin.ClusterCapacityRequirementsProperty = {
onDemand: onDemand,
spot: spot,
};
Properties
| Name | Type | Description |
|---|---|---|
| on | any | Configuration options specific to On-Demand instances. |
| spot? | any | Configuration options specific to Spot instances. |
onDemand?
Type:
any
(optional)
Configuration options specific to On-Demand instances.
spot?
Type:
any
(optional)
Configuration options specific to Spot instances.

.NET
Go
Java
Python
TypeScript