interface ClusterRestrictedInstanceGroupProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnClusterPropsMixin.ClusterRestrictedInstanceGroupProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnClusterPropsMixin_ClusterRestrictedInstanceGroupProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnClusterPropsMixin.ClusterRestrictedInstanceGroupProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnClusterPropsMixin.ClusterRestrictedInstanceGroupProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnClusterPropsMixin » ClusterRestrictedInstanceGroupProperty |
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 { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const clusterRestrictedInstanceGroupProperty: sagemaker_mixins.CfnClusterPropsMixin.ClusterRestrictedInstanceGroupProperty = {
currentCount: 123,
environmentConfig: {
fSxLustreConfig: {
perUnitStorageThroughput: 123,
sizeInGiB: 123,
},
},
executionRole: 'executionRole',
instanceCount: 123,
instanceGroupName: 'instanceGroupName',
instanceStorageConfigs: [{
ebsVolumeConfig: {
rootVolume: false,
volumeKmsKeyId: 'volumeKmsKeyId',
volumeSizeInGb: 123,
},
}],
instanceType: 'instanceType',
onStartDeepHealthChecks: ['onStartDeepHealthChecks'],
overrideVpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
threadsPerCore: 123,
trainingPlanArn: 'trainingPlanArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| current | number | The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster. |
| environment | IResolvable | Environment | The configuration for the restricted instance groups (RIG) environment. |
| execution | string | The execution role for the instance group to assume. |
| instance | number | The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster. |
| instance | string | The name of the instance group of a SageMaker HyperPod cluster. |
| instance | IResolvable | (IResolvable | Cluster)[] | The instance storage configuration for the instance group. |
| instance | string | The instance type of the instance group of a SageMaker HyperPod cluster. |
| on | string[] | Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in. |
| override | IResolvable | Vpc | Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. |
| threads | number | The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. |
| training | string | The Amazon Resource Name (ARN) of the training plan to use for this cluster restricted instance group. |
currentCount?
Type:
number
(optional)
The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.
environmentConfig?
Type:
IResolvable | Environment
(optional)
The configuration for the restricted instance groups (RIG) environment.
executionRole?
Type:
string
(optional)
The execution role for the instance group to assume.
instanceCount?
Type:
number
(optional)
The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.
instanceGroupName?
Type:
string
(optional)
The name of the instance group of a SageMaker HyperPod cluster.
instanceStorageConfigs?
Type:
IResolvable | (IResolvable | Cluster)[]
(optional)
The instance storage configuration for the instance group.
instanceType?
Type:
string
(optional)
The instance type of the instance group of a SageMaker HyperPod cluster.
onStartDeepHealthChecks?
Type:
string[]
(optional)
Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
overrideVpcConfig?
Type:
IResolvable | Vpc
(optional)
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.
threadsPerCore?
Type:
number
(optional)
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.
trainingPlanArn?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript