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

.NET
Go
Java
Python
TypeScript