AutoScalingConfigurationVersion

class AutoScalingConfigurationVersion : KotlinCustomResource

Manages an App Runner AutoScaling Configuration Version.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apprunner.AutoScalingConfigurationVersion;
import com.pulumi.aws.apprunner.AutoScalingConfigurationVersionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AutoScalingConfigurationVersion("example", AutoScalingConfigurationVersionArgs.builder()
.autoScalingConfigurationName("example")
.maxConcurrency(50)
.maxSize(10)
.minSize(2)
.tags(Map.of("Name", "example-apprunner-autoscaling"))
.build());
}
}

Import

App Runner AutoScaling Configuration Versions can be imported by using the arn, e.g.,

$ pulumi import aws:apprunner/autoScalingConfigurationVersion:AutoScalingConfigurationVersion example "arn:aws:apprunner:us-east-1:1234567890:autoscalingconfiguration/example/1/69bdfe0115224b0db49398b7beb68e0f

Properties

Link copied to clipboard
val arn: Output<String>

ARN of this auto scaling configuration version.

Link copied to clipboard

Name of the auto scaling configuration.

Link copied to clipboard

The revision of this auto scaling configuration.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val latest: Output<Boolean>

Whether the auto scaling configuration has the highest auto_scaling_configuration_revision among all configurations that share the same auto_scaling_configuration_name.

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

Maximal number of concurrent requests that you want an instance to process. When the number of concurrent requests goes over this limit, App Runner scales up your service.

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

Maximal number of instances that App Runner provisions for your service.

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

Minimal number of instances that App Runner provisions for your service.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

Current state of the auto scaling configuration. An INACTIVE configuration revision has been deleted and can't be used. It is permanently removed some time after deletion.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>