1. Packages
  2. AWS Classic
  3. API Docs
  4. apprunner
  5. AutoScalingConfigurationVersion

Try AWS Native preview for resources not in the classic version.

AWS Classic v5.41.0 published on Monday, May 15, 2023 by Pulumi

aws.apprunner.AutoScalingConfigurationVersion

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v5.41.0 published on Monday, May 15, 2023 by Pulumi

    Manages an App Runner AutoScaling Configuration Version.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.AppRunner.AutoScalingConfigurationVersion("example", new()
        {
            AutoScalingConfigurationName = "example",
            MaxConcurrency = 50,
            MaxSize = 10,
            MinSize = 2,
            Tags = 
            {
                { "Name", "example-apprunner-autoscaling" },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/apprunner"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apprunner.NewAutoScalingConfigurationVersion(ctx, "example", &apprunner.AutoScalingConfigurationVersionArgs{
    			AutoScalingConfigurationName: pulumi.String("example"),
    			MaxConcurrency:               pulumi.Int(50),
    			MaxSize:                      pulumi.Int(10),
    			MinSize:                      pulumi.Int(2),
    			Tags: pulumi.StringMap{
    				"Name": pulumi.String("example-apprunner-autoscaling"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 pulumi
    import pulumi_aws as aws
    
    example = aws.apprunner.AutoScalingConfigurationVersion("example",
        auto_scaling_configuration_name="example",
        max_concurrency=50,
        max_size=10,
        min_size=2,
        tags={
            "Name": "example-apprunner-autoscaling",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.apprunner.AutoScalingConfigurationVersion("example", {
        autoScalingConfigurationName: "example",
        maxConcurrency: 50,
        maxSize: 10,
        minSize: 2,
        tags: {
            Name: "example-apprunner-autoscaling",
        },
    });
    
    resources:
      example:
        type: aws:apprunner:AutoScalingConfigurationVersion
        properties:
          autoScalingConfigurationName: example
          maxConcurrency: 50
          maxSize: 10
          minSize: 2
          tags:
            Name: example-apprunner-autoscaling
    

    Create AutoScalingConfigurationVersion Resource

    new AutoScalingConfigurationVersion(name: string, args: AutoScalingConfigurationVersionArgs, opts?: CustomResourceOptions);
    @overload
    def AutoScalingConfigurationVersion(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        auto_scaling_configuration_name: Optional[str] = None,
                                        max_concurrency: Optional[int] = None,
                                        max_size: Optional[int] = None,
                                        min_size: Optional[int] = None,
                                        tags: Optional[Mapping[str, str]] = None)
    @overload
    def AutoScalingConfigurationVersion(resource_name: str,
                                        args: AutoScalingConfigurationVersionArgs,
                                        opts: Optional[ResourceOptions] = None)
    func NewAutoScalingConfigurationVersion(ctx *Context, name string, args AutoScalingConfigurationVersionArgs, opts ...ResourceOption) (*AutoScalingConfigurationVersion, error)
    public AutoScalingConfigurationVersion(string name, AutoScalingConfigurationVersionArgs args, CustomResourceOptions? opts = null)
    public AutoScalingConfigurationVersion(String name, AutoScalingConfigurationVersionArgs args)
    public AutoScalingConfigurationVersion(String name, AutoScalingConfigurationVersionArgs args, CustomResourceOptions options)
    
    type: aws:apprunner:AutoScalingConfigurationVersion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AutoScalingConfigurationVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AutoScalingConfigurationVersionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AutoScalingConfigurationVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoScalingConfigurationVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoScalingConfigurationVersionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AutoScalingConfigurationVersion Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AutoScalingConfigurationVersion resource accepts the following input properties:

    AutoScalingConfigurationName string

    Name of the auto scaling configuration.

    MaxConcurrency 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.

    MaxSize int

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

    MinSize int

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

    Tags Dictionary<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.

    AutoScalingConfigurationName string

    Name of the auto scaling configuration.

    MaxConcurrency 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.

    MaxSize int

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

    MinSize int

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

    Tags 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.

    autoScalingConfigurationName String

    Name of the auto scaling configuration.

    maxConcurrency Integer

    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.

    maxSize Integer

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

    minSize Integer

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

    tags 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.

    autoScalingConfigurationName string

    Name of the auto scaling configuration.

    maxConcurrency number

    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.

    maxSize number

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

    minSize number

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

    tags {[key: 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.

    auto_scaling_configuration_name str

    Name of the auto scaling configuration.

    max_concurrency 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.

    max_size int

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

    min_size int

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

    tags Mapping[str, str]

    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.

    autoScalingConfigurationName String

    Name of the auto scaling configuration.

    maxConcurrency Number

    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.

    maxSize Number

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

    minSize Number

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

    tags Map<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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutoScalingConfigurationVersion resource produces the following output properties:

    Arn string

    ARN of this auto scaling configuration version.

    AutoScalingConfigurationRevision int

    The revision of this auto scaling configuration.

    Id string

    The provider-assigned unique ID for this managed resource.

    Latest bool

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

    Status 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.

    TagsAll Dictionary<string, string>

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

    Arn string

    ARN of this auto scaling configuration version.

    AutoScalingConfigurationRevision int

    The revision of this auto scaling configuration.

    Id string

    The provider-assigned unique ID for this managed resource.

    Latest bool

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

    Status 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.

    TagsAll map[string]string

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

    arn String

    ARN of this auto scaling configuration version.

    autoScalingConfigurationRevision Integer

    The revision of this auto scaling configuration.

    id String

    The provider-assigned unique ID for this managed resource.

    latest Boolean

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

    status 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.

    tagsAll Map<String,String>

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

    arn string

    ARN of this auto scaling configuration version.

    autoScalingConfigurationRevision number

    The revision of this auto scaling configuration.

    id string

    The provider-assigned unique ID for this managed resource.

    latest boolean

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

    status 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.

    tagsAll {[key: string]: string}

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

    arn str

    ARN of this auto scaling configuration version.

    auto_scaling_configuration_revision int

    The revision of this auto scaling configuration.

    id str

    The provider-assigned unique ID for this managed resource.

    latest bool

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

    status str

    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.

    tags_all Mapping[str, str]

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

    arn String

    ARN of this auto scaling configuration version.

    autoScalingConfigurationRevision Number

    The revision of this auto scaling configuration.

    id String

    The provider-assigned unique ID for this managed resource.

    latest Boolean

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

    status 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.

    tagsAll Map<String>

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

    Look up Existing AutoScalingConfigurationVersion Resource

    Get an existing AutoScalingConfigurationVersion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AutoScalingConfigurationVersionState, opts?: CustomResourceOptions): AutoScalingConfigurationVersion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            auto_scaling_configuration_name: Optional[str] = None,
            auto_scaling_configuration_revision: Optional[int] = None,
            latest: Optional[bool] = None,
            max_concurrency: Optional[int] = None,
            max_size: Optional[int] = None,
            min_size: Optional[int] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> AutoScalingConfigurationVersion
    func GetAutoScalingConfigurationVersion(ctx *Context, name string, id IDInput, state *AutoScalingConfigurationVersionState, opts ...ResourceOption) (*AutoScalingConfigurationVersion, error)
    public static AutoScalingConfigurationVersion Get(string name, Input<string> id, AutoScalingConfigurationVersionState? state, CustomResourceOptions? opts = null)
    public static AutoScalingConfigurationVersion get(String name, Output<String> id, AutoScalingConfigurationVersionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string

    ARN of this auto scaling configuration version.

    AutoScalingConfigurationName string

    Name of the auto scaling configuration.

    AutoScalingConfigurationRevision int

    The revision of this auto scaling configuration.

    Latest bool

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

    MaxConcurrency 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.

    MaxSize int

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

    MinSize int

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

    Status 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.

    Tags Dictionary<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.

    TagsAll Dictionary<string, string>

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

    Arn string

    ARN of this auto scaling configuration version.

    AutoScalingConfigurationName string

    Name of the auto scaling configuration.

    AutoScalingConfigurationRevision int

    The revision of this auto scaling configuration.

    Latest bool

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

    MaxConcurrency 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.

    MaxSize int

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

    MinSize int

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

    Status 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.

    Tags 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.

    TagsAll map[string]string

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

    arn String

    ARN of this auto scaling configuration version.

    autoScalingConfigurationName String

    Name of the auto scaling configuration.

    autoScalingConfigurationRevision Integer

    The revision of this auto scaling configuration.

    latest Boolean

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

    maxConcurrency Integer

    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.

    maxSize Integer

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

    minSize Integer

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

    status 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.

    tags 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.

    tagsAll Map<String,String>

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

    arn string

    ARN of this auto scaling configuration version.

    autoScalingConfigurationName string

    Name of the auto scaling configuration.

    autoScalingConfigurationRevision number

    The revision of this auto scaling configuration.

    latest boolean

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

    maxConcurrency number

    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.

    maxSize number

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

    minSize number

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

    status 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.

    tags {[key: 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.

    tagsAll {[key: string]: string}

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

    arn str

    ARN of this auto scaling configuration version.

    auto_scaling_configuration_name str

    Name of the auto scaling configuration.

    auto_scaling_configuration_revision int

    The revision of this auto scaling configuration.

    latest bool

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

    max_concurrency 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.

    max_size int

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

    min_size int

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

    status str

    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.

    tags Mapping[str, str]

    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.

    tags_all Mapping[str, str]

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

    arn String

    ARN of this auto scaling configuration version.

    autoScalingConfigurationName String

    Name of the auto scaling configuration.

    autoScalingConfigurationRevision Number

    The revision of this auto scaling configuration.

    latest Boolean

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

    maxConcurrency Number

    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.

    maxSize Number

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

    minSize Number

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

    status 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.

    tags Map<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.

    tagsAll Map<String>

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

    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
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the aws Terraform Provider.

    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v5.41.0 published on Monday, May 15, 2023 by Pulumi