Interface CfnCluster.ClusterCapacityRequirementsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCluster.ClusterCapacityRequirementsProperty.Jsii$Proxy
Enclosing class:
CfnCluster

@Stability(Stable) public static interface CfnCluster.ClusterCapacityRequirementsProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
 Object onDemand;
 Object spot;
 ClusterCapacityRequirementsProperty clusterCapacityRequirementsProperty = ClusterCapacityRequirementsProperty.builder()
         .onDemand(onDemand)
         .spot(spot)
         .build();
 

See Also: