Interface CfnCluster.RollingUpdatePolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.RollingUpdatePolicyProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.RollingUpdatePolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*; RollingUpdatePolicyProperty rollingUpdatePolicyProperty = RollingUpdatePolicyProperty.builder() .maximumBatchSize(CapacitySizeConfigProperty.builder() .type("type") .value(123) .build()) // the properties below are optional .rollbackMaximumBatchSize(CapacitySizeConfigProperty.builder() .type("type") .value(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.RollingUpdatePolicyProperty
static final class
An implementation forCfnCluster.RollingUpdatePolicyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaximumBatchSize
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.
- See Also:
-
getRollbackMaximumBatchSize
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.
- See Also:
-
builder
-