Interface CfnCluster.ClusterInstanceGroupProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterInstanceGroupProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterInstanceGroupProperty
extends software.amazon.jsii.JsiiSerializable
The configuration information of the instance group within the HyperPod cluster.
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.*; ClusterInstanceGroupProperty clusterInstanceGroupProperty = ClusterInstanceGroupProperty.builder() .executionRole("executionRole") .instanceCount(123) .instanceGroupName("instanceGroupName") .instanceType("instanceType") .lifeCycleConfig(ClusterLifeCycleConfigProperty.builder() .onCreate("onCreate") .sourceS3Uri("sourceS3Uri") .build()) // the properties below are optional .currentCount(123) .instanceStorageConfigs(List.of(ClusterInstanceStorageConfigProperty.builder() .ebsVolumeConfig(ClusterEbsVolumeConfigProperty.builder() .volumeSizeInGb(123) .build()) .build())) .onStartDeepHealthChecks(List.of("onStartDeepHealthChecks")) .threadsPerCore(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ClusterInstanceGroupProperty
static final class
An implementation forCfnCluster.ClusterInstanceGroupProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.The execution role for the instance group to assume.The number of instances in an instance group of the SageMaker HyperPod cluster.The name of the instance group of a SageMaker HyperPod cluster.default Object
The configurations of additional storage specified to the instance group where the instance (node) is launched.The instance type of the instance group of a SageMaker HyperPod cluster.The lifecycle configuration for a SageMaker HyperPod cluster.A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated.default Number
The number of threads per CPU core you specified underCreateCluster
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionRole
The execution role for the instance group to assume.- See Also:
-
getInstanceCount
The number of instances in an instance group of the SageMaker HyperPod cluster.- See Also:
-
getInstanceGroupName
The name of the instance group of a SageMaker HyperPod cluster.- See Also:
-
getInstanceType
The instance type of the instance group of a SageMaker HyperPod cluster.- See Also:
-
getLifeCycleConfig
The lifecycle configuration for a SageMaker HyperPod cluster.- See Also:
-
getCurrentCount
The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.- See Also:
-
getInstanceStorageConfigs
The configurations of additional storage specified to the instance group where the instance (node) is launched.- See Also:
-
getOnStartDeepHealthChecks
A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated.Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
- See Also:
-
getThreadsPerCore
The number of threads per CPU core you specified underCreateCluster
.- See Also:
-
builder
-