Class CfnEndpoint.RollingUpdatePolicyProperty
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RollingUpdatePolicyProperty : Object, CfnEndpoint.IRollingUpdatePolicyProperty
Syntax (vb)
Public Class RollingUpdatePolicyProperty
Inherits Object
Implements CfnEndpoint.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 CapacitySizeProperty {
Type = "type",
Value = 123
},
WaitIntervalInSeconds = 123,
// the properties below are optional
MaximumExecutionTimeoutInSeconds = 123,
RollbackMaximumBatchSize = new CapacitySizeProperty {
Type = "type",
Value = 123
}
};
Synopsis
Constructors
RollingUpdatePolicyProperty() |
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. |
MaximumExecutionTimeoutInSeconds | The time limit for the total deployment. |
RollbackMaximumBatchSize | Batch size for rollback to the old endpoint fleet. |
WaitIntervalInSeconds | The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. |
Constructors
RollingUpdatePolicyProperty()
public RollingUpdatePolicyProperty()
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.
public object MaximumBatchSize { get; set; }
Property Value
System.Object
Remarks
Value must be between 5% to 50% of the variant's total instance count.
MaximumExecutionTimeoutInSeconds
The time limit for the total deployment.
public Nullable<double> MaximumExecutionTimeoutInSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RollbackMaximumBatchSize
Batch size for rollback to the old endpoint fleet.
public object RollbackMaximumBatchSize { get; set; }
Property Value
System.Object
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.
WaitIntervalInSeconds
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
public double WaitIntervalInSeconds { get; set; }
Property Value
System.Double