Interface CfnCluster.IClusterRestrictedInstanceGroupProperty
Details of a restricted instance group in a SageMaker HyperPod cluster.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCluster.IClusterRestrictedInstanceGroupProperty
Syntax (vb)
Public Interface CfnCluster.IClusterRestrictedInstanceGroupProperty
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 clusterRestrictedInstanceGroupProperty = new ClusterRestrictedInstanceGroupProperty {
EnvironmentConfig = new EnvironmentConfigProperty {
FSxLustreConfig = new FSxLustreConfigProperty {
PerUnitStorageThroughput = 123,
SizeInGiB = 123
}
},
ExecutionRole = "executionRole",
InstanceCount = 123,
InstanceGroupName = "instanceGroupName",
InstanceType = "instanceType",
// the properties below are optional
CurrentCount = 123,
InstanceStorageConfigs = new [] { new ClusterInstanceStorageConfigProperty {
EbsVolumeConfig = new ClusterEbsVolumeConfigProperty {
RootVolume = false,
VolumeKmsKeyId = "volumeKmsKeyId",
VolumeSizeInGb = 123
}
} },
OnStartDeepHealthChecks = new [] { "onStartDeepHealthChecks" },
OverrideVpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
},
ThreadsPerCore = 123,
TrainingPlanArn = "trainingPlanArn"
};
Synopsis
Properties
| CurrentCount | The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster. |
| EnvironmentConfig | The configuration for the restricted instance groups (RIG) environment. |
| ExecutionRole | The execution role for the instance group to assume. |
| InstanceCount | The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster. |
| InstanceGroupName | The name of the instance group of a SageMaker HyperPod cluster. |
| InstanceStorageConfigs | The instance storage configuration for the instance group. |
| InstanceType | The instance type of the instance group of a SageMaker HyperPod cluster. |
| OnStartDeepHealthChecks | Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in. |
| OverrideVpcConfig | Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. |
| ThreadsPerCore | The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. |
| TrainingPlanArn | The Amazon Resource Name (ARN) of the training plan to use for this cluster restricted instance group. |
Properties
CurrentCount
The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.
double? CurrentCount { get; }
Property Value
Remarks
EnvironmentConfig
The configuration for the restricted instance groups (RIG) environment.
object EnvironmentConfig { get; }
Property Value
Remarks
ExecutionRole
The execution role for the instance group to assume.
string ExecutionRole { get; }
Property Value
Remarks
InstanceCount
The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.
double InstanceCount { get; }
Property Value
Remarks
InstanceGroupName
The name of the instance group of a SageMaker HyperPod cluster.
string InstanceGroupName { get; }
Property Value
Remarks
InstanceStorageConfigs
The instance storage configuration for the instance group.
object? InstanceStorageConfigs { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnCluster.IClusterInstanceStorageConfigProperty)[]
InstanceType
The instance type of the instance group of a SageMaker HyperPod cluster.
string InstanceType { get; }
Property Value
Remarks
OnStartDeepHealthChecks
Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
string[]? OnStartDeepHealthChecks { get; }
Property Value
string[]
Remarks
OverrideVpcConfig
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
object? OverrideVpcConfig { get; }
Property Value
Remarks
You can control access to and from your resources by configuring a VPC.
Type union: either IResolvable or CfnCluster.IVpcConfigProperty
ThreadsPerCore
The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading.
double? ThreadsPerCore { get; }
Property Value
Remarks
For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
TrainingPlanArn
The Amazon Resource Name (ARN) of the training plan to use for this cluster restricted instance group.
string? TrainingPlanArn { get; }
Property Value
Remarks
For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see CreateTrainingPlan.