Interface CfnEndpoint.ICapacitySizeProperty
Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICapacitySizeProperty
Syntax (vb)
Public Interface 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
Properties
Type | Specifies the endpoint capacity type. |
Value | Defines the capacity size, either as a number of instances or a capacity percentage. |
Properties
Type
Specifies the endpoint capacity type.
string Type { get; }
Property Value
System.String
Remarks
Value
Defines the capacity size, either as a number of instances or a capacity percentage.
double Value { get; }
Property Value
System.Double