CapacityProviderScalingConfigProperty Struct
Configuration that defines how the capacity provider scales compute instances based on demand and policies.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const capacityProviderScalingConfigProperty: lambda.CfnCapacityProvider.CapacityProviderScalingConfigProperty = {
maxVCpuCount: 123,
scalingMode: 'scalingMode',
scalingPolicies: [{
predefinedMetricType: 'predefinedMetricType',
targetValue: 123,
}],
};
Properties
maxVCpuCountnumbermax_v_cpu_countint | floatmaxVCpuCountNumberMaxVCpuCountdoubleMaxVCpuCount*float64#The maximum number of vCPUs that the capacity provider can provision across all compute instances.
The scaling mode that determines how the capacity provider responds to changes in demand.
scalingPoliciesIResolvable | IResolvable | CfnCapacityProvider.TargetTrackingScalingPolicyProperty[]scaling_policiestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TargetTrackingScalingPolicyProperty]]]scalingPoliciesIResolvableScalingPoliciesIResolvableScalingPoliciesinterface{}#A list of target tracking scaling policies for the capacity provider.