Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html

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

object

Remarks

Value must be between 5% to 50% of the variant's total instance count.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html#cfn-sagemaker-cluster-rollingupdatepolicy-maximumbatchsize

Type union: either IResolvable or CfnCluster.ICapacitySizeConfigProperty

RollbackMaximumBatchSize

Batch size for rollback to the old endpoint fleet.

object? RollbackMaximumBatchSize { get; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html#cfn-sagemaker-cluster-rollingupdatepolicy-rollbackmaximumbatchsize

Type union: either IResolvable or CfnCluster.ICapacitySizeConfigProperty

Back to top Generated by DocFX