DesiredWeightAndCapacity - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DesiredWeightAndCapacity

Specifies weight and capacity values for a production variant.

Contents

VariantName

The name of the variant to update.

Type: String

Length Constraints: Maximum length of 63.

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}

Required: Yes

DesiredInstanceCount

The variant's capacity.

Type: Integer

Valid Range: Minimum value of 0.

Required: No

DesiredWeight

The variant's weight.

Type: Float

Valid Range: Minimum value of 0.

Required: No

ServerlessUpdateConfig

Specifies the serverless update concurrency configuration for an endpoint variant.

Type: ProductionVariantServerlessUpdateConfig object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: