Class: Aws::SageMaker::Types::ClusterAutoPatchConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

The configuration for automatic patching of the instance group. When configured, the system automatically applies security patch AMI updates to the instance group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_config ⇒ Types::DeploymentConfiguration

The deployment configuration for rolling patch updates, including rollback settings and batch sizes. Only applicable when using a rolling patching strategy.



6228
6229
6230
6231
6232
6233
6234
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6228

class ClusterAutoPatchConfig < Struct.new(
  :patching_strategy,
  :patch_schedule,
  :deployment_config)
  SENSITIVE = []
  include Aws::Structure
end

#patch_schedule ⇒ Types::ClusterPatchSchedule

The schedule for automatic patching, including the next patch date.



6228
6229
6230
6231
6232
6233
6234
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6228

class ClusterAutoPatchConfig < Struct.new(
  :patching_strategy,
  :patch_schedule,
  :deployment_config)
  SENSITIVE = []
  include Aws::Structure
end

#patching_strategy ⇒ String

The strategy for applying patches to instances in the group.

  • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

  • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

Returns:

  • (String)


6228
6229
6230
6231
6232
6233
6234
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6228

class ClusterAutoPatchConfig < Struct.new(
  :patching_strategy,
  :patch_schedule,
  :deployment_config)
  SENSITIVE = []
  include Aws::Structure
end