Interface CfnCluster.IRollingUpdatePolicyProperty
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCluster.IRollingUpdatePolicyProperty
Syntax (vb)
Public Interface CfnCluster.IRollingUpdatePolicyProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var rollingUpdatePolicyProperty = new RollingUpdatePolicyProperty {
MaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
},
// the properties below are optional
RollbackMaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
}
};
Synopsis
Properties
| MaximumBatchSize | 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. |
| RollbackMaximumBatchSize | Batch size for rollback to the old endpoint fleet. |
Properties
MaximumBatchSize
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.
object MaximumBatchSize { get; }
Property Value
Remarks
Value must be between 5% to 50% of the variant's total instance count.
Type union: either IResolvable or CfnCluster.ICapacitySizeConfigProperty
RollbackMaximumBatchSize
Batch size for rollback to the old endpoint fleet.
object? RollbackMaximumBatchSize { get; }
Property Value
Remarks
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.
Type union: either IResolvable or CfnCluster.ICapacitySizeConfigProperty