interface RollingUpdatePolicyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnCluster.RollingUpdatePolicyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_RollingUpdatePolicyProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnCluster.RollingUpdatePolicyProperty |
![]() | aws_cdk.aws_sagemaker.CfnCluster.RollingUpdatePolicyProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnCluster » RollingUpdatePolicyProperty |
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
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 rollingUpdatePolicyProperty: sagemaker.CfnCluster.RollingUpdatePolicyProperty = {
maximumBatchSize: {
type: 'type',
value: 123,
},
// the properties below are optional
rollbackMaximumBatchSize: {
type: 'type',
value: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
maximum | IResolvable | Capacity | Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. |
rollback | IResolvable | Capacity | Batch size for rollback to the old endpoint fleet. |
maximumBatchSize
Type:
IResolvable
|
Capacity
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet.
Value must be between 5% to 50% of the variant's total instance count.
rollbackMaximumBatchSize?
Type:
IResolvable
|
Capacity
(optional)
Batch size for rollback to the old endpoint fleet.
Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.