Bases: object
Properties for enabling Lambda autoscaling.
max_capacity (Union
[int
, float
]) â Maximum capacity to scale to.
min_capacity (Union
[int
, float
, None
]) â Minimum capacity to scale to. Default: 1
infused
Example:
import aws_cdk.aws_autoscaling as autoscaling # fn: lambda.Function alias = fn.add_alias("prod") # Create AutoScaling target as = alias.add_auto_scaling(max_capacity=50) # Configure Target Tracking as.scale_on_utilization( utilization_target=0.5 ) # Configure Scheduled Scaling as.scale_on_schedule("ScaleUpInTheMorning", schedule=autoscaling.Schedule.cron(hour="8", minute="0"), min_capacity=20 )
Attributes
Maximum capacity to scale to.
Minimum capacity to scale to.
1
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4