Resource: awsApprunnerAutoScalingConfigurationVersion
Manages an App Runner AutoScaling Configuration Version.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.apprunnerAutoScalingConfigurationVersion.ApprunnerAutoScalingConfigurationVersion(
this,
"example",
{
autoScalingConfigurationName: "example",
maxConcurrency: 50,
maxSize: 10,
minSize: 2,
tags: {
Name: "example-apprunner-autoscaling",
},
}
);
Argument Reference
The following arguments supported:
autoScalingConfigurationName
- (Required, Forces new resource) Name of the auto scaling configuration.maxConcurrency
- (Optional, Forces new resource) 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
- (Optional, Forces new resource) Maximal number of instances that App Runner provisions for your service.minSize
- (Optional, Forces new resource) Minimal number of instances that App Runner provisions for your service.tags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN of this auto scaling configuration version.autoScalingConfigurationRevision
- The revision of this auto scaling configuration.latest
- Whether the auto scaling configuration has the highestautoScalingConfigurationRevision
among all configurations that share the sameautoScalingConfigurationName
.status
- 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 of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
App Runner AutoScaling Configuration Versions can be imported by using the arn
, e.g.,