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)
         .imageId("imageId")
         .instanceStorageConfigs(List.of(ClusterInstanceStorageConfigProperty.builder()
                 .ebsVolumeConfig(ClusterEbsVolumeConfigProperty.builder()
                         .rootVolume(false)
                         .volumeKmsKeyId("volumeKmsKeyId")
                         .volumeSizeInGb(123)
                         .build())
                 .build()))
         .onStartDeepHealthChecks(List.of("onStartDeepHealthChecks"))
         .overrideVpcConfig(VpcConfigProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnets(List.of("subnets"))
                 .build())
         .scheduledUpdateConfig(ScheduledUpdateConfigProperty.builder()
                 .scheduleExpression("scheduleExpression")
                 // the properties below are optional
                 .deploymentConfig(DeploymentConfigProperty.builder()
                         .autoRollbackConfiguration(List.of(AlarmDetailsProperty.builder()
                                 .alarmName("alarmName")
                                 .build()))
                         .rollingUpdatePolicy(RollingUpdatePolicyProperty.builder()
                                 .maximumBatchSize(CapacitySizeConfigProperty.builder()
                                         .type("type")
                                         .value(123)
                                         .build())
                                 // the properties below are optional
                                 .rollbackMaximumBatchSize(CapacitySizeConfigProperty.builder()
                                         .type("type")
                                         .value(123)
                                         .build())
                                 .build())
                         .waitIntervalInSeconds(123)
                         .build())
                 .build())
         .threadsPerCore(123)
         .trainingPlanArn("trainingPlanArn")
         .build();
 

See Also: