Interface CfnClusterPropsMixin.AutoPatchConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.AutoPatchConfigProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.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.cfnpropertymixins.services.sagemaker.*;
AutoPatchConfigProperty autoPatchConfigProperty = AutoPatchConfigProperty.builder()
.deploymentConfig(DeploymentConfigProperty.builder()
.autoRollbackConfiguration(List.of(AlarmDetailsProperty.builder()
.alarmName("alarmName")
.build()))
.rollingUpdatePolicy(RollingUpdatePolicyProperty.builder()
.maximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
.rollbackMaximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
.build())
.waitIntervalInSeconds(123)
.build())
.patchingStrategy("patchingStrategy")
.patchSchedule(PatchScheduleProperty.builder()
.nextPatchDate("nextPatchDate")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.AutoPatchConfigPropertystatic final classAn implementation forCfnClusterPropsMixin.AutoPatchConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentConfig
The configuration to use when updating the AMI versions.Returns union: either
IResolvableorCfnClusterPropsMixin.DeploymentConfigProperty- See Also:
-
getPatchingStrategy
The patching strategy that determines when and how instances are patched.WhenIdle patches instances as they become idle. WhenAllIdle patches all instances when they are all idle.
- See Also:
-
getPatchSchedule
The schedule configuration for automatic patching.Returns union: either
IResolvableorCfnClusterPropsMixin.PatchScheduleProperty- See Also:
-
builder
-