Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0

DesiredWeightAndCapacity

Specifies weight and capacity values for a production variant.

DesiredInstanceCount The variant’s capacity.
Type: Integer
Valid Range: Minimum value of 1.
Required: No

DesiredWeight The variant’s weight.
Type: Float
Valid Range: Minimum value of 0.
Required: No

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])*
Required: Yes

For more information about using this API in one of the language-specific AWS SDKs, see the following: + AWS SDK for C++ + AWS SDK for Go + AWS SDK for Go - Pilot + AWS SDK for Java + AWS SDK for Ruby V2