interface AutoPatchConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCluster.AutoPatchConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_AutoPatchConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnCluster.AutoPatchConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnCluster.AutoPatchConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnCluster » AutoPatchConfigProperty |
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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const autoPatchConfigProperty: sagemaker.CfnCluster.AutoPatchConfigProperty = {
patchingStrategy: 'patchingStrategy',
// the properties below are optional
deploymentConfig: {
autoRollbackConfiguration: [{
alarmName: 'alarmName',
}],
rollingUpdatePolicy: {
maximumBatchSize: {
type: 'type',
value: 123,
},
// the properties below are optional
rollbackMaximumBatchSize: {
type: 'type',
value: 123,
},
},
waitIntervalInSeconds: 123,
},
patchSchedule: {
nextPatchDate: 'nextPatchDate',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| patching | string | The patching strategy that determines when and how instances are patched. |
| deployment | IResolvable | Deployment | The configuration to use when updating the AMI versions. |
| patch | IResolvable | Patch | The schedule configuration for automatic patching. |
patchingStrategy
Type:
string
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.
deploymentConfig?
Type:
IResolvable | Deployment
(optional)
The configuration to use when updating the AMI versions.
patchSchedule?
Type:
IResolvable | Patch
(optional)
The schedule configuration for automatic patching.

.NET
Go
Java
Python
TypeScript