@awboost/cfn-resource-types 0.1.388 → 0.1.389

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export type SageMakerClusterProperties = {
16
16
  * The instance groups of the SageMaker HyperPod cluster.
17
17
  * @minLength `1`
18
18
  */
19
- InstanceGroups: ClusterInstanceGroup[];
19
+ InstanceGroups?: ClusterInstanceGroup[];
20
20
  /**
21
21
  * If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
22
22
  */
@@ -25,6 +25,11 @@ export type SageMakerClusterProperties = {
25
25
  * Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
26
26
  */
27
27
  Orchestrator?: Orchestrator;
28
+ /**
29
+ * The restricted instance groups of the SageMaker HyperPod cluster.
30
+ * @minLength `1`
31
+ */
32
+ RestrictedInstanceGroups?: ClusterRestrictedInstanceGroup[];
28
33
  /**
29
34
  * Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
30
35
  * @maxLength `50`
@@ -69,6 +74,17 @@ export type SageMakerClusterAttributes = {
69
74
  */
70
75
  CurrentCount: number;
71
76
  }[];
77
+ /**
78
+ * The restricted instance groups of the SageMaker HyperPod cluster.
79
+ * @minLength `1`
80
+ */
81
+ RestrictedInstanceGroups: {
82
+ /**
83
+ * The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.
84
+ * @min `0`
85
+ */
86
+ CurrentCount: number;
87
+ }[];
72
88
  };
73
89
  /**
74
90
  * Type definition for `AWS::SageMaker::Cluster.ClusterEbsVolumeConfig`.
@@ -135,6 +151,13 @@ export type ClusterInstanceGroup = {
135
151
  * @max `2`
136
152
  */
137
153
  ThreadsPerCore?: number;
154
+ /**
155
+ * The Amazon Resource Name (ARN) of the training plan to use for this cluster instance group. For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see CreateTrainingPlan.
156
+ * @minLength `50`
157
+ * @maxLength `2048`
158
+ * @pattern `^arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:training-plan/.*$`
159
+ */
160
+ TrainingPlanArn?: string;
138
161
  };
139
162
  /**
140
163
  * Type definition for `AWS::SageMaker::Cluster.ClusterInstanceStorageConfig`.
@@ -177,12 +200,102 @@ export type ClusterOrchestratorEksConfig = {
177
200
  */
178
201
  ClusterArn: string;
179
202
  };
203
+ /**
204
+ * Type definition for `AWS::SageMaker::Cluster.ClusterRestrictedInstanceGroup`.
205
+ * Details of a restricted instance group in a SageMaker HyperPod cluster.
206
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterrestrictedinstancegroup.html}
207
+ */
208
+ export type ClusterRestrictedInstanceGroup = {
209
+ /**
210
+ * The configuration for the restricted instance groups (RIG) environment.
211
+ */
212
+ EnvironmentConfig: EnvironmentConfig;
213
+ /**
214
+ * The execution role for the instance group to assume.
215
+ * @minLength `20`
216
+ * @maxLength `2048`
217
+ * @pattern `^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$`
218
+ */
219
+ ExecutionRole: string;
220
+ /**
221
+ * The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.
222
+ * @min `0`
223
+ */
224
+ InstanceCount: number;
225
+ /**
226
+ * The name of the instance group of a SageMaker HyperPod cluster.
227
+ * @minLength `1`
228
+ * @maxLength `63`
229
+ * @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9])*$`
230
+ */
231
+ InstanceGroupName: string;
232
+ /**
233
+ * The instance storage configuration for the instance group.
234
+ * @maxLength `1`
235
+ */
236
+ InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
237
+ /**
238
+ * The instance type of the instance group of a SageMaker HyperPod cluster.
239
+ */
240
+ InstanceType: string;
241
+ /**
242
+ * Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
243
+ */
244
+ OnStartDeepHealthChecks?: DeepHealthCheckType[];
245
+ /**
246
+ * 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.
247
+ */
248
+ OverrideVpcConfig?: VpcConfig;
249
+ /**
250
+ * 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.
251
+ * @min `1`
252
+ * @max `2`
253
+ */
254
+ ThreadsPerCore?: number;
255
+ /**
256
+ * 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.
257
+ * @minLength `50`
258
+ * @maxLength `2048`
259
+ * @pattern `^arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:training-plan/.*$`
260
+ */
261
+ TrainingPlanArn?: string;
262
+ };
180
263
  /**
181
264
  * Type definition for `AWS::SageMaker::Cluster.DeepHealthCheckType`.
182
265
  * The type of deep health check(s) to be performed on the instances in the SageMaker HyperPod cluster instance group.
183
266
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deephealthchecktype.html}
184
267
  */
185
268
  export type DeepHealthCheckType = "InstanceStress" | "InstanceConnectivity";
269
+ /**
270
+ * Type definition for `AWS::SageMaker::Cluster.EnvironmentConfig`.
271
+ * The configuration for the restricted instance groups (RIG) environment.
272
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-environmentconfig.html}
273
+ */
274
+ export type EnvironmentConfig = {
275
+ /**
276
+ * Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.
277
+ */
278
+ FSxLustreConfig?: FSxLustreConfig;
279
+ };
280
+ /**
281
+ * Type definition for `AWS::SageMaker::Cluster.FSxLustreConfig`.
282
+ * Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.
283
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-fsxlustreconfig.html}
284
+ */
285
+ export type FSxLustreConfig = {
286
+ /**
287
+ * The throughput capacity of the FSx for Lustre file system, measured in MB/s per TiB of storage.
288
+ * @min `125`
289
+ * @max `1000`
290
+ */
291
+ PerUnitStorageThroughput: number;
292
+ /**
293
+ * The storage capacity of the FSx for Lustre file system, specified in gibibytes (GiB).
294
+ * @min `1200`
295
+ * @max `100800`
296
+ */
297
+ SizeInGiB: number;
298
+ };
186
299
  /**
187
300
  * Type definition for `AWS::SageMaker::Cluster.Orchestrator`.
188
301
  * Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.