Interface CfnCapacityProvider.CapacityProviderScalingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.CapacityProviderScalingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.CapacityProviderScalingConfigProperty
extends software.amazon.jsii.JsiiSerializable
The scaling configuration for the capacity provider.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CapacityProviderScalingConfigProperty capacityProviderScalingConfigProperty = CapacityProviderScalingConfigProperty.builder()
.maxVCpuCount(123)
.scalingMode("scalingMode")
.scalingPolicies(List.of(TargetTrackingScalingPolicyProperty.builder()
.predefinedMetricType("predefinedMetricType")
.targetValue(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCapacityProvider.CapacityProviderScalingConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxVCpuCount
The maximum number of EC2 instances that the capacity provider can scale up to.- See Also:
-
getScalingMode
The scaling mode for the capacity provider.- See Also:
-
getScalingPolicies
A list of target tracking scaling policies for the capacity provider.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCapacityProvider.TargetTrackingScalingPolicyProperty>- See Also:
-
builder
@Stability(Stable) static CfnCapacityProvider.CapacityProviderScalingConfigProperty.Builder builder()
-