Class CfnAutoScalingConfigurationProps
Properties for defining a CfnAutoScalingConfiguration
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutoScalingConfigurationProps : Object, ICfnAutoScalingConfigurationProps
Syntax (vb)
Public Class CfnAutoScalingConfigurationProps
Inherits Object
Implements 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
Constructors
Cfn |
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. |
Constructors
CfnAutoScalingConfigurationProps()
public CfnAutoScalingConfigurationProps()
Properties
AutoScalingConfigurationName
The customer-provided auto scaling configuration name.
public string AutoScalingConfigurationName { get; set; }
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.
public Nullable<double> MaxConcurrency { get; set; }
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.
public Nullable<double> MaxSize { get; set; }
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.
public Nullable<double> MinSize { get; set; }
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.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn