Class CfnCluster.ClusterCapacityRequirementsProperty
Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCluster.ClusterCapacityRequirementsProperty : CfnCluster.IClusterCapacityRequirementsProperty
Syntax (vb)
Public Class CfnCluster.ClusterCapacityRequirementsProperty Implements CfnCluster.IClusterCapacityRequirementsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var onDemand;
var spot;
var clusterCapacityRequirementsProperty = new ClusterCapacityRequirementsProperty {
OnDemand = onDemand,
Spot = spot
};
Synopsis
Constructors
| ClusterCapacityRequirementsProperty() | Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types. |
Properties
| OnDemand | Configuration options specific to On-Demand instances. |
| Spot | Configuration options specific to Spot instances. |
Constructors
ClusterCapacityRequirementsProperty()
Defines the instance capacity requirements for an instance group, including configurations for both Spot and On-Demand capacity types.
public ClusterCapacityRequirementsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var onDemand;
var spot;
var clusterCapacityRequirementsProperty = new ClusterCapacityRequirementsProperty {
OnDemand = onDemand,
Spot = spot
};
Properties
OnDemand
Configuration options specific to On-Demand instances.
public object? OnDemand { get; set; }
Property Value
Remarks
Spot
Configuration options specific to Spot instances.
public object? Spot { get; set; }