Class: Aws::Lambda::Types::CapacityProviderScalingConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_v_cpu_countInteger

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

Returns:

  • (Integer)


636
637
638
639
640
641
642
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 636

class CapacityProviderScalingConfig < Struct.new(
  :max_v_cpu_count,
  :scaling_mode,
  :scaling_policies)
  SENSITIVE = []
  include Aws::Structure
end

#scaling_modeString

The scaling mode that determines how the capacity provider responds to changes in demand.

Returns:

  • (String)


636
637
638
639
640
641
642
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 636

class CapacityProviderScalingConfig < Struct.new(
  :max_v_cpu_count,
  :scaling_mode,
  :scaling_policies)
  SENSITIVE = []
  include Aws::Structure
end

#scaling_policiesArray<Types::TargetTrackingScalingPolicy>

A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.



636
637
638
639
640
641
642
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 636

class CapacityProviderScalingConfig < Struct.new(
  :max_v_cpu_count,
  :scaling_mode,
  :scaling_policies)
  SENSITIVE = []
  include Aws::Structure
end