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
Configuration that defines how the capacity provider scales compute instances based on demand and policies.

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: