Class CfnEndpoint.CapacitySizeProperty
Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy.
Inheritance
System.Object
CfnEndpoint.CapacitySizeProperty
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CapacitySizeProperty : Object, CfnEndpoint.ICapacitySizeProperty
Syntax (vb)
Public Class CapacitySizeProperty
Inherits Object
Implements CfnEndpoint.ICapacitySizeProperty
Remarks
You can specify your batches as either instance count or the overall percentage or your fleet.
For a rollback strategy, if you don't specify the fields in this object, or if you set the Value
to 100%, then SageMaker uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.
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 capacitySizeProperty = new CapacitySizeProperty {
Type = "type",
Value = 123
};
Synopsis
Constructors
CapacitySizeProperty() |
Properties
Type | Specifies the endpoint capacity type. |
Value | Defines the capacity size, either as a number of instances or a capacity percentage. |
Constructors
CapacitySizeProperty()
public CapacitySizeProperty()
Properties
Type
Specifies the endpoint capacity type.
public string Type { get; set; }
Property Value
System.String
Remarks
Value
Defines the capacity size, either as a number of instances or a capacity percentage.
public double Value { get; set; }
Property Value
System.Double