Interface ICfnAutoScalingConfigurationProps
Properties for defining a CfnAutoScalingConfiguration
.
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAutoScalingConfigurationProps
Syntax (vb)
Public Interface ICfnAutoScalingConfigurationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;
var cfnAutoScalingConfigurationProps = new CfnAutoScalingConfigurationProps {
AutoScalingConfigurationName = "autoScalingConfigurationName",
MaxConcurrency = 123,
MaxSize = 123,
MinSize = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Auto |
The customer-provided auto scaling configuration name. |
Max |
The maximum number of concurrent requests that an instance processes. |
Max |
The maximum number of instances that a service scales up to. |
Min |
The minimum number of instances that App Runner provisions for a service. |
Tags | A list of metadata items that you can associate with your auto scaling configuration resource. |
Properties
AutoScalingConfigurationName
The customer-provided auto scaling configuration name.
virtual string AutoScalingConfigurationName { get; }
Property Value
System.
Remarks
It can be used in multiple revisions of a configuration.
MaxConcurrency
The maximum number of concurrent requests that an instance processes.
virtual Nullable<double> MaxConcurrency { get; }
Property Value
System.
Remarks
If the number of concurrent requests exceeds this limit, App Runner scales the service up.
MaxSize
The maximum number of instances that a service scales up to.
virtual Nullable<double> MaxSize { get; }
Property Value
System.
Remarks
At most MaxSize
instances actively serve traffic for your service.
MinSize
The minimum number of instances that App Runner provisions for a service.
virtual Nullable<double> MinSize { get; }
Property Value
System.
Remarks
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.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Tags
A list of metadata items that you can associate with your auto scaling configuration resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfn