Class CfnInferenceComponentPropsMixin.InferenceComponentCapacitySizeProperty
Specifies the type and size of the endpoint capacity to activate for a rolling deployment or a rollback strategy.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnInferenceComponentPropsMixin.InferenceComponentCapacitySizeProperty : CfnInferenceComponentPropsMixin.IInferenceComponentCapacitySizeProperty
Syntax (vb)
Public Class CfnInferenceComponentPropsMixin.InferenceComponentCapacitySizeProperty Implements 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
Constructors
| InferenceComponentCapacitySizeProperty() | Specifies the type and size of the endpoint capacity to activate for a rolling deployment or a rollback strategy. |
Properties
| Type | Specifies the endpoint capacity type. |
| Value | Defines the capacity size, either as a number of inference component copies or a capacity percentage. |
Constructors
InferenceComponentCapacitySizeProperty()
Specifies the type and size of the endpoint capacity to activate for a rolling deployment or a rollback strategy.
public InferenceComponentCapacitySizeProperty()
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
};
Properties
Type
Specifies the endpoint capacity type.
public string? Type { get; set; }
Property Value
Remarks
Value
Defines the capacity size, either as a number of inference component copies or a capacity percentage.
public double? Value { get; set; }