Interface CfnCluster.ClusterRestrictedInstanceGroupProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterRestrictedInstanceGroupProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterRestrictedInstanceGroupProperty
extends software.amazon.jsii.JsiiSerializable
Details of a restricted instance group in a SageMaker 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.*; ClusterRestrictedInstanceGroupProperty clusterRestrictedInstanceGroupProperty = ClusterRestrictedInstanceGroupProperty.builder() .environmentConfig(EnvironmentConfigProperty.builder() .fSxLustreConfig(FSxLustreConfigProperty.builder() .perUnitStorageThroughput(123) .sizeInGiB(123) .build()) .build()) .executionRole("executionRole") .instanceCount(123) .instanceGroupName("instanceGroupName") .instanceType("instanceType") // the properties below are optional .currentCount(123) .instanceStorageConfigs(List.of(ClusterInstanceStorageConfigProperty.builder() .ebsVolumeConfig(ClusterEbsVolumeConfigProperty.builder() .volumeSizeInGb(123) .build()) .build())) .onStartDeepHealthChecks(List.of("onStartDeepHealthChecks")) .overrideVpcConfig(VpcConfigProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnets(List.of("subnets")) .build()) .threadsPerCore(123) .trainingPlanArn("trainingPlanArn") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ClusterRestrictedInstanceGroupProperty
static final class
An implementation forCfnCluster.ClusterRestrictedInstanceGroupProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.The configuration for the restricted instance groups (RIG) environment.The execution role for the instance group to assume.The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.The name of the instance group of a SageMaker HyperPod cluster.default Object
The instance storage configuration for the instance group.The instance type of the instance group of a SageMaker HyperPod cluster.Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.default Object
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.default Number
The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading.default String
The Amazon Resource Name (ARN) of the training plan to use for this cluster restricted instance group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnvironmentConfig
The configuration for the restricted instance groups (RIG) environment.- See Also:
-
getExecutionRole
The execution role for the instance group to assume.- See Also:
-
getInstanceCount
The number of instances you specified to add to the restricted instance group of a 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:
-
getCurrentCount
The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.- See Also:
-
getInstanceStorageConfigs
The instance storage configuration for the instance group.- See Also:
-
getOnStartDeepHealthChecks
Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.- See Also:
-
getOverrideVpcConfig
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.You can control access to and from your resources by configuring a VPC.
- See Also:
-
getThreadsPerCore
The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading.For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
- See Also:
-
getTrainingPlanArn
The Amazon Resource Name (ARN) of the training plan to use for this cluster restricted instance group.For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see CreateTrainingPlan.
- See Also:
-
builder
-