import * as core from "@terrascript/core"; export interface AutoScalingConfigurationVersionArgs extends core.ResourceArgs { /** * (Required, Forces new resource) Name of the auto scaling configuration. */ autoScalingConfigurationName: string | core.StringOut; /** * (Optional, Forces new resource) The 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 s * ervice. */ maxConcurrency?: number | core.NumberOut; /** * (Optional, Forces new resource) The maximal number of instances that App Runner provisions for your * service. */ maxSize?: number | core.NumberOut; /** * (Optional, Forces new resource) The minimal number of instances that App Runner provisions for your * service. */ minSize?: number | core.NumberOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class AutoScalingConfigurationVersion extends core.Resource { /** * ARN of this auto scaling configuration version. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required, Forces new resource) Name of the auto scaling configuration. */ @core.attr(String) public autoScalingConfigurationName!: string | core.StringOut; /** * The revision of this auto scaling configuration. */ @core.attr(Number, { computed: true }) public autoScalingConfigurationRevision!: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether the auto scaling configuration has the highest `auto_scaling_configuration_revision` among a * ll configurations that share the same `auto_scaling_configuration_name`. */ @core.attr(Boolean, { computed: true }) public latest!: boolean | core.BooleanOut; /** * (Optional, Forces new resource) The 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 s * ervice. */ @core.attr(Number) public maxConcurrency?: number | core.NumberOut; /** * (Optional, Forces new resource) The maximal number of instances that App Runner provisions for your * service. */ @core.attr(Number) public maxSize?: number | core.NumberOut; /** * (Optional, Forces new resource) The minimal number of instances that App Runner provisions for your * service. */ @core.attr(Number) public minSize?: number | core.NumberOut; /** * The current state of the auto scaling configuration. An INACTIVE configuration revision has been del * eted and can't be used. It is permanently removed some time after deletion. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AutoScalingConfigurationVersionArgs) { super(name, "aws_apprunner_auto_scaling_configuration_version", args); } public override getNamespace(): string { return "aws_apprunner"; } }