AutoScalingConfigurationProps
- class aws_cdk.aws_apprunner_alpha.AutoScalingConfigurationProps(*, auto_scaling_configuration_name=None, max_concurrency=None, max_size=None, min_size=None)
- Bases: - object- (experimental) Properties of the App Runner Auto Scaling Configuration. - Parameters:
- auto_scaling_configuration_name ( - Optional[- str]) – (experimental) The name for the Auto Scaling Configuration. Default: - a name generated by CloudFormation
- max_concurrency ( - Union[- int,- float,- None]) – (experimental) The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up. Must be between 1 and 200. Default: 100
- max_size ( - Union[- int,- float,- None]) – (experimental) The maximum number of instances that a service scales up to. At most maxSize instances actively serve traffic for your service. Must be between 1 and 25. Default: 25
- min_size ( - Union[- int,- float,- None]) – (experimental) The minimum number of instances that App Runner provisions for a service. The service always has at least minSize provisioned instances. Must be between 1 and 25. Default: 1
 
- Stability:
- experimental 
- ExampleMetadata:
- infused 
 - Example: - auto_scaling_configuration = apprunner.AutoScalingConfiguration(self, "AutoScalingConfiguration", auto_scaling_configuration_name="MyAutoScalingConfiguration", max_concurrency=150, max_size=20, min_size=5 ) apprunner.Service(self, "DemoService", source=apprunner.Source.from_ecr_public( image_configuration=apprunner.ImageConfiguration(port=8000), image_identifier="public.ecr.aws/aws-containers/hello-app-runner:latest" ), auto_scaling_configuration=auto_scaling_configuration ) - Attributes - auto_scaling_configuration_name
- (experimental) The name for the Auto Scaling Configuration. - Default:
- a name generated by CloudFormation 
 
- Stability:
- experimental 
 
 - max_concurrency
- (experimental) The maximum number of concurrent requests that an instance processes. - If the number of concurrent requests exceeds this limit, App Runner scales the service up. - Must be between 1 and 200. - Default:
- 100 
- Stability:
- experimental 
 
 - max_size
- (experimental) The maximum number of instances that a service scales up to. - At most maxSize instances actively serve traffic for your service. - Must be between 1 and 25. - Default:
- 25 
- Stability:
- experimental 
 
 - min_size
- (experimental) The minimum number of instances that App Runner provisions for a service. - The service always has at least minSize provisioned instances. - Must be between 1 and 25. - Default:
- 1 
- Stability:
- experimental