Interface CfnInferenceComponentPropsMixin.IInferenceComponentCapacitySizeProperty
Specifies the type and size of the endpoint capacity to activate for a rolling deployment or a rollback strategy.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnInferenceComponentPropsMixin.IInferenceComponentCapacitySizeProperty
Syntax (vb)
Public Interface CfnInferenceComponentPropsMixin.IInferenceComponentCapacitySizeProperty
Remarks
You can specify your batches as either of the following:
For a rollback strategy, if you don't specify the fields in this object, or if you set the Value parameter to 100%, then SageMaker AI 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.CfnPropertyMixins.AWS.SageMaker;
var inferenceComponentCapacitySizeProperty = new InferenceComponentCapacitySizeProperty {
Type = "type",
Value = 123
};
Synopsis
Properties
| Type | Specifies the endpoint capacity type. |
| Value | Defines the capacity size, either as a number of inference component copies or a capacity percentage. |
Properties
Type
Specifies the endpoint capacity type.
string? Type { get; }
Property Value
Remarks
Value
Defines the capacity size, either as a number of inference component copies or a capacity percentage.
double? Value { get; }