AutoScalingConfigurationArgs

data class AutoScalingConfigurationArgs(val autoScalingConfigurationName: Output<String>? = null, val maxConcurrency: Output<Int>? = null, val maxSize: Output<Int>? = null, val minSize: Output<Int>? = null, val tags: Output<List<CreateOnlyTagArgs>>? = null) : ConvertibleToJava<AutoScalingConfigurationArgs>

Describes an AWS App Runner automatic configuration resource that enables automatic scaling of instances used to process web requests. You can share an auto scaling configuration across multiple services.

Constructors

Link copied to clipboard
constructor(autoScalingConfigurationName: Output<String>? = null, maxConcurrency: Output<Int>? = null, maxSize: Output<Int>? = null, minSize: Output<Int>? = null, tags: Output<List<CreateOnlyTagArgs>>? = null)

Properties

Link copied to clipboard

The customer-provided auto scaling configuration name. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The auto scaling configuration name can be used in multiple revisions of a configuration.

Link copied to clipboard
val maxConcurrency: Output<Int>? = null

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 to use more instances to process the requests.

Link copied to clipboard
val maxSize: Output<Int>? = null

The maximum number of instances that an App Runner service scales up to. At most MaxSize instances actively serve traffic for your service.

Link copied to clipboard
val minSize: Output<Int>? = null

The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.

Link copied to clipboard
val tags: Output<List<CreateOnlyTagArgs>>? = null

A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.

Functions

Link copied to clipboard
open override fun toJava(): AutoScalingConfigurationArgs