Interface CfnCluster.AutoPatchConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCluster.AutoPatchConfigProperty.Jsii$Proxy
Enclosing class:
CfnCluster

@Stability(Stable) public static interface CfnCluster.AutoPatchConfigProperty extends software.amazon.jsii.JsiiSerializable
The configuration for automatic patching of the instance group.

Enables workload-aware, patch-level AMI updates.

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.*;
 AutoPatchConfigProperty autoPatchConfigProperty = AutoPatchConfigProperty.builder()
         .patchingStrategy("patchingStrategy")
         // 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())
         .patchSchedule(PatchScheduleProperty.builder()
                 .nextPatchDate("nextPatchDate")
                 .build())
         .build();
 

See Also: